16*2 lcd display - Raspberry Pi Forums


i've got raspberry pi starter kit came hd44780 lcd display.

"invalid token" message @ part of programme if bits&0*08==0*08:, i've tried using programming example
it's same bit of programme comes error.

in 1 instance code written in tutorial gpio.output(lcd_d7, bits&0*08==0*08)

0*08 appears low bit of d7 on display.

i'm new raspberry , make bespoke applications after learning period.

can tell me i'm going wrong?

many thanks

mike

mike tee wrote:i've got raspberry pi starter kit came hd44780 lcd display.
"invalid token" message @ part of programme if bits&0*08==0*08:, i've tried using programming example
it's same bit of programme comes error.
in 1 instance code written in tutorial gpio.output(lcd_d7, bits&0*08==0*08)
0*08 appears low bit of d7 on display.
i'm new raspberry , make bespoke applications after learning period.
can tell me i'm going wrong?
many thanks
mike
guess, since i'm not python programmer, should "0*08" "0x08" ie. hexadecimal constant perhaps?
trev.


raspberrypi



Comments

Popular posts from this blog

invalid use of void expresion in FlexiTimer2 library

error: a function-definition is not allowed here before '{' token

LED Strip Code