Displaying Instruction Prints To An LCD


note* had edit of code have here in attachment because had lcd.clear(); statement in wrong place , improved autoreturn. should now...       

here code wrote share others in community can make easy organize , view instruction prints lcd. better perspective on how these instructions work best take time , breadboard project. instruction prints because these instruction prints can replace written documentation or small manual (on mega) describe how (program) i.e. use push buttons set different variables in complex program interfaces multiple sensors, user defined alarms set points and/or whatever else want explain end user. whatever program writing it's have comments what's happening in program. programs write don't need instructions programs can extremely useful explaining operator what's going on , how set up.

you overview of how program functions that'll locked project , can't ever lost. electronic devices rendered useless if lose manual can never happen if programmed device. code put here organizing instructions topics allows user fast forward , rewind read different topic headers without having read or display instruction prints in each individual topic next topic header find want. code pretty simple , isn't doing that's not real easy understand. uses 4 push buttons, 4 x 20 character lcd , 5 variables work.  

the bottom line of i2c 4 x 20 character lcd used in program flash 2 prints 1 after other & keeps alternating them. alternates "pres push button #1" , "to view instructions" remind user how access instructions. other 3 lines of lcd can used display variables temperature, voltage, light levels or whatever. how i'm setting program friends electronic project i'm building can whatever want in main screen of void loop. long user knows press push button #1 instructions. have printed on face of project box below or above lcd , save space on 4th line of lcd displaying else.

the code included in attachment here. haven't found bugs in yet there some. anyway, try , if let me know think...

good luck it
jessey



Arduino Forum > Community > Exhibition / Gallery > Displaying Instruction Prints To An LCD


arduino

Comments

Popular posts from this blog

Error compiling for board Arduino/Genuino Uno.

Installation database is corrupt

esp8266 (nodemcu 0.9) client.write très lent ???