elParaguayo / RPI-Info-Screen

See http://www.raspberrypi.org/phpBB3/viewtopic.php?f=41&t=51807
GNU General Public License v3.0
34 stars 23 forks source link

Pi tft #5

Closed TheVince81 closed 10 years ago

TheVince81 commented 10 years ago

Hey, The button functions do great, but the backlight one doesn't seem to work. How can this thing come ? Nothing happened to my PiTFT when I tried to use merely the function, even without joining it to the button effects. Someone to help me around, to switch off/on the backlight ? Thank you

elParaguayo commented 10 years ago

Can you get the backlight to work if you follow the instructions on the Adafruit website?

elParaguayo commented 10 years ago

I've just tested the code again on my Pi and it does work exactly as it should. e.g. if I do:

import pitftgpio
pi = pitftgpio.PiTFT_GPIO()
pi.Backlight(False)

the light turns off. So I can't reproduce your issue unless you provide some more information.

TheVince81 commented 10 years ago

Hello,

I'm sorry, I have no excuse, I don't know why, it works perfectly now. I spent hours yesterday, but today, just 2 minutes were enough. Thank you and once again, sorry, this is some great piece of work !

elParaguayo commented 10 years ago

No problem. Delighted to hear that it works for you.