I want to find out if anybody is actually using this code to control their LED lighting? I am trying to work on a single, unified LED lighting program. I am thinking about deleting or completely hijacking Motor_LEDs.
I just wanted to know if that will really mess anybody up?
Replies
Where are the instructions for wiring up lights on a quad? I'm using the latest MP available firmware. I see I can just enable it in the MP but where are the instructions in the wiki for wiring up the lights to the APM1?
does anybody need gps status? i think the most important things are 1:armed/disarmed 2:battery 3:mode. i was thinking about something like this:
armed: leds on
disarmed: leds off
mode 1: repeated pattern ----------_- (1 short off)
mode 2: repeated pattern ----------_-_- (2 short offs)
mode 3: repeated pattern ----------_-_-_- (3 short offs)
mode 4: repeated pattern ----------_-_-_-_- (4 short offs)
mode 5: repeated pattern ----------_-_-_-_-_- (5 short offs)
battery first warning: repeated pattern ---___---___---___---___ (slow blink)
battery second warning: repeated pattern -_-_-_-_ (fast blink)
this way, theres only one output used for leds, they can be driven by the relay on apm1 and also, they are mostly on so theres no need for other nav lights.
Ok guys, I'm going to start the work shortly. I will try not to completely break this until it's working.
Steven, the final result will probably look an awful lot like what you have already done. That's along the lines of what I was already thinking. But thanks for your example because it will help me.
Really, the main point of this, is to make LEDS controllable from MP. Default will be off, but then you just change a parameter to turn it on, and change different modes.
No? Ok, well I will be hijacking the existing code and changing the name to Copter_LEDS. Will bring in some new functionality that people should like.