Do not divide by zero on an ATmega32!

I just found this video showing you what happens when you divide by 0 on an ATmega32

http://www.youtube.com/watch?v=mZ7pUADoo58

Also, avoid stack overflowing on ATmega88V

http://www.youtube.com/watch?v=4YEL7Jx26Wk

It’s not an April First day yet.

Correction: it wasn’t divide by zero; it was square root of -1

stevech:
Correction: it wasn’t divide by zero; it was square root of -1

You can compute square root of -1 without problems on atmegas.

itikhonov:

stevech:
Correction: it wasn’t divide by zero; it was square root of -1

You can compute square root of -1 without problems on atmegas.

Imagine that!

:mrgreen:

Angelo