For me this should be simple.
I have an arduino, it just receives serial data and display it on an lcd.
The serial stream on the i/p is continuous, and is present before power on.
At power on the code just hangs, however if I press reset after power on the code runs and the display works just fine.
So I guess the 'duino doesnt like data on the serial port at power on, maybe its going into programming mode or something.
I tried flushing the serial buffer after boot, nut nada, I also tried a delay before initing the serial port nothing there either.
I didnt think there was a difference between power on reset and the reset button.
Any ideas how I can fix this?, I spose a reed relay or switching tranny might do the trick but I'd rather do something a little more elegant in code.
I have an arduino, it just receives serial data and display it on an lcd.
The serial stream on the i/p is continuous, and is present before power on.
At power on the code just hangs, however if I press reset after power on the code runs and the display works just fine.
So I guess the 'duino doesnt like data on the serial port at power on, maybe its going into programming mode or something.
I tried flushing the serial buffer after boot, nut nada, I also tried a delay before initing the serial port nothing there either.
I didnt think there was a difference between power on reset and the reset button.
Any ideas how I can fix this?, I spose a reed relay or switching tranny might do the trick but I'd rather do something a little more elegant in code.