Documentation **[[arduino_code|Arduino base program code]]** ====== DpI2CLEDStatus library ====== ===== Description ===== DpI2CLEDStatus Arduino library provide function for using signaling LED on daince.nrt Status LED board with PCF8574A. Source code is provided as is, without any warranty. Distributed under CC BY v 3.0 ==== Functions ==== // On inicialization define pin position for LEDs DpI2CLEDStatus(byte Addr, byte pR1=1, byte pG1=0, byte pB1=2, byte pL1=3, byte pR2=5, byte pG2=4, byte pB2=6, byte pL2=7); // Set all LEDs off void setAllOff(); // Set RGB LED 1 // R - 1 Red On / 0 Red off // G - 1 Green On / 0 Green Off // B - 1 Blue On / 0 Blue Off void setRGBLED1(byte R, byte G, byte B); // Set RGB LED 2 // R - 1 Red On / 0 Red off // G - 1 Green On / 0 Green Off // B - 1 Blue On / 0 Blue Off void setRGBLED2(byte R, byte G, byte B); // Set LED 1 // Status - 1 On / 0 Off void setLED1(byte Status); // Set LED 2 // Status - 1 On / 0 Off void setLED2(byte Status); ==== Contact ==== Author: Dubravko Penezic Email: dpenezic@gmail.com ===== Version ===== ==== Actual ==== * **{{:source_code:arduino:library:dpi2cledstatus:dpi2cledstatus-1.0.0.tar.gz|dpi2cledstatus-1.0.0.tar.gz}}** * **{{:source_code:arduino:library:dpi2cledstatus:dpi2cledstatus-1.0.0.zip|dpi2cledstatus-1.0.0.zip}}** ==== History ==== === V 1.0.0 , 10.02.2012 === * **{{:source_code:arduino:library:dpi2cledstatus:dpi2cledstatus-1.0.0.tar.gz|dpi2cledstatus-1.0.0.tar.gz}}** * **{{:source_code:arduino:library:dpi2cledstatus:dpi2cledstatus-1.0.0.zip|dpi2cledstatus-1.0.0.zip}}**