mageshms / arducopter

Automatically exported from code.google.com/p/arducopter
0 stars 0 forks source link

Support for motor-mount LEDS as in NG code #144

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
The current Arducopter 2 code doesn't appear to define or use the pins reserved 
for the 'Attraction mode' LEDs to go in the motor mounts. These were defined in 
the earlier Arducopter NG code in config.h and arducopter.h.
Please could the same facility be added to AC2, so that by default these pins 
are active (high) and the rear one flashes. Then by following the Build 
instructions at
http://diydrones.com/profiles/blogs/yet-another-build-log-yabl-1
one can have a red light to port, a green light to starboard, a white light to 
front and a flashing white light to rear.

Thanks

Original issue reported on code.google.com by goo...@harding99.freeserve.co.uk on 16 May 2011 at 4:14

GoogleCodeExporter commented 8 years ago
I added MOTOR_LEDS define in AP_Config.h
The rear led is set to blink. I *think* I got it right, let me know. Look for 
AC 2.0.6
Jason

Original comment by jasonshort on 18 May 2011 at 5:27

GoogleCodeExporter commented 8 years ago
Thanks Jason for a speedy enhancement.
I'm just looking for the changes. I must be looking in the wrong place:
I went to 
http://code.google.com/p/arducopter/
then clicked on Source and Browse, then trunk and ArducopterMega

Am I in the wrong place - I can't find any of your references?
Thanks Rob

Original comment by goo...@harding99.freeserve.co.uk on 18 May 2011 at 5:33

GoogleCodeExporter commented 8 years ago
Ah, I see the changes have appeared now, I guess they weren't committed before. 
I see that the new Motor LEDs functionality is turned off by default, because 
of the #define of MOTOR_LEDS to 0 in APM_Config.h. Is there any reason why it 
couldn't be ON by default please?
Thanks
Rob

Original comment by goo...@harding99.freeserve.co.uk on 19 May 2011 at 4:48