LCD Code
I am useing bs2 the editor won't take commas. I wanted send battery voltage to
the LCD along with status of the battery so ineed to be able display a variable.
thanks rb2005
the LCD along with status of the battery so ineed to be able display a variable.
thanks rb2005
Comments
DEBUG ","
I realize that can be tricky in some strings of serial data, so what I do is define a contant:
Comma··· CON··· 44
Then I can do this:
· volts = 125
· DEBUG· DEC (volts / 100), Comma, DEC2 volts··· ' display volts Euro-style
Remember that DEBUG is just a specialized version of SEROUT, so these techniques will work in your application.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax