How can I display variables on an lcd screen and how can I share them between c
P!-Ro
Posts: 1,189
I would like to display variables on an lcd screen but I don't know how to do it. I can display words, but that is it. Also, I was wondering how to share variables between cogs. Could you help me?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Pi Guy
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Pi Guy
Comments
ser.dec(5*a - 3) will display as "7" if a is 2 or "17" if a is 4 or "-3" if a is zero (without the quotes).
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Pi Guy
Shouldn't be a problem with global variables.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
This post is a work of art. Variations in spelling and grammar are intentional, artistic endeavors that add value to all of mankind.