Lorenz Meier
f7bd31b6fd
Teach RGB led driver to forward unknown IOCTLs
2014-03-17 14:32:02 +01:00
Lorenz Meier
4ea92eca7c
RGB led cleanup
2014-01-11 20:57:03 +01:00
Andrew Tridgell
14e2464fab
rgbled: don't try the same bus twice
...
on PX4v1 the external I2C bus is the same as the LED bus
2013-10-19 11:42:46 +02:00
Andrew Tridgell
e3fe443720
rgbled: fixed getopt() handling
...
this allows the -a option to be used, for example
rgbled -a 0x55 start
2013-10-19 11:42:33 +02:00
Andrew Tridgell
dbb49c035b
rgbled: fixed detection of device on PX4v1
...
There is a serial EEPROM on the PX4IOv1 board that answers on I2C
address 0x55. We need some extra I2C transfers to ensure we are
talking to a real RGBLED device.
2013-10-19 11:42:19 +02:00
Lorenz Meier
fbe595a591
Fixed some stupid compile errors
2013-10-14 23:10:12 +02:00
Lorenz Meier
c6b58491bb
Work queue in RGB driver without work_cancel()
2013-10-14 22:18:44 +02:00
Anton Babushkin
09452805b1
rgbled: copyright updated
2013-09-19 18:46:35 +02:00
Anton Babushkin
a012d5be82
rgbled: more cleanup
2013-09-19 18:13:11 +02:00
Anton Babushkin
f2d5d008a6
rgbled: major cleanup and bugfixes
2013-09-19 11:33:04 +02:00
Buzz
c12955fbc0
the "rgbled rgb X X X" command was broken, and would set green when you asked for red, and blue when you asked for green, and never set red. - off by 1 error in parameter numbering.
2013-09-10 13:32:32 +10:00
Julian Oes
9bcfe49cff
Changed RGBLED behaviour, breathe mode when disarmed and ready to arm
2013-08-29 16:45:33 +02:00
Lorenz Meier
871b4c19bc
Added stop command to RGB led
2013-08-19 15:19:51 +02:00
Lorenz Meier
e597f97982
Merged master
2013-08-18 12:04:07 +02:00
Lorenz Meier
64145252d4
Added dim RGB implementation
2013-08-17 15:46:34 +02:00
Julian Oes
af3e0d459a
Add pattern ioctl for RGBLED
2013-08-16 18:04:24 +02:00
Julian Oes
0fe612e843
Simplified the RGBLED driver
2013-08-16 13:04:57 +02:00
Julian Oes
901cef922c
Some cleanup for the RGB LED driver, added ioctl to set color
2013-08-15 17:43:01 +02:00
Julian Oes
29d7836784
RGBled fixes: options and off after rgb working now
2013-08-14 15:03:52 +02:00
Andrew Tridgell
3b10f8431d
rgbled: try expansion bus first, unless specific bus given
...
this will allow "rgbled start" to detect which bus the LED is on,
supporting boards with either external or internal LEDs
2013-08-14 15:02:35 +02:00
Andrew Tridgell
21a919d973
rgbled: added LED_MODE_RGB to allow for constant RGB values
...
this allows apps to fully control the 3 LED elements
2013-08-14 15:02:15 +02:00
px4dev
9d6ec6b365
Restructure things so that the PX4 configs move out of the NuttX tree, and most of the PX4-specific board configuration data moves out of the config and into the board driver.
...
Rename some directories that got left behind in the great board renaming.
2013-08-02 22:34:55 -07:00
px4dev
03a15bfdc5
Fix argument parsing in the rgbled command.
2013-07-03 22:23:01 -07:00
px4dev
2557f0d2de
Rename the 'device' directory back to 'drivers', it's less confusing that way.
...
Move the fmuv2 board driver out into the new world.
2013-04-06 23:04:32 -07:00