rpi_lcars
rpi_lcars copied to clipboard
Lights etc.
How can i add like the lights to controll light withe the lcars. And is ther a red alert?
I think there are some rpi_lcars forks where this is already done. Check network tap for forks. From other point of view. You need to start design from "end":
- What is controlling light? Solid state relay (SSR) or mechanical relay? Better to use SSR for Mains controlling.
- Then you need to learn how connect SSR to RPI.
- Then how to program RPI GPIO.
- Then how to integrate GPIO control into rpi_lcars: Add some python RPI GPIO control library. Add two buttons in main screen code. Write event handlers. Write GPIO control. There are lot of information in internet about RPI GPIO in python. Glue GPIO code with rpi_lcars.
You need some reading, googling, research, experimenting and programming.
Have Fun!