Okay, I did a little test:
If I try this code:
Code:
loop:
random temp
toggle LED
pause temp >> 8
goto loop
My LED flashes in a very nicely random way.
If I try this code:
Code:
loop:
random temp
temp = temp >> 8
toggle LED
pause temp
goto loop
Then it does not flash in a nicely random way.
So... the seed must not be modified.
But anyway this still does not explain why my morse code flasher doesn't work. Unfortunately I do not have the circuit at hand (it's in Paris now) so have to probably build a second one to really test.
Bookmarks