I used one LCD 16 * 2 char in my Arduino project , but for show different messages in LCD , I use delay() function to do this , but the micro have to Waite until delay() function time finished and this is not good for me when Micro (Arduino) must do some other tasks in same time. but its have to just show some messages in LCD in that period of time and do nothing for another tasks, What other solution is exist for set time for LCD but micro do other tasks ??
I used one LCD 16 * 2 char in my Arduino project , but for show different messages in LCD , I use delay() function to do this , but the micro have to Waite until delay() function time finished and this is not good for me when Micro (Arduino) must do some other tasks in same time. but its have to just show some messages in LCD in that period of time and do nothing for another tasks, What other solution is exist for set time for LCD but micro do other tasks ??
When calling "showDifferentMessages();" from your loop() function infinitely, you will see a changing message on the lcd, which changes each second between
-"Hello"
When calling "showDifferentMessages();" from your loop() function infinitely, you will see a changing message on the lcd, which changes each second between
-"Hello"
- "World"
- seconds since power-on/reset
No idea what the last statement will print, but dividing by zero should print 'infinty'