Skip to content

Commit babb618

Browse files
author
1ux
committed
Restructuring for the Arduino Lib Manager
1 parent 948f638 commit babb618

2 files changed

Lines changed: 1 addition & 7 deletions

File tree

README.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,6 @@ At 5V use for red: around 150Ω, for green around 100Ω and for blue also 100Ω.
4040
Please note that there are qualitative differences in LEDs and my characteristics do not have to match your LEDs.
4141

4242
## Usage
43-
1. Copy the src directory into your current Arduino project directory. Alternatively, you can also move the „./MultiColorLedControl“ directory to your Arduino library directory. (~/Arduino/libraries/)
44-
2. Include the header file using the include directive.
45-
3. This library is organized in a class. First create an object.
46-
4. Then call the setup method and specify the 3 hardware ports of the microcontroller to which the RGB LED is connected. As the last parameter, specify the LED type as COMMON_ANODE or COMMON_CATHODE.
47-
5. Now you can use the LED. First run the TestLEDs() method that displays all colors individually to make sure everything is connected correctly to the microcontroller.
48-
4943

5044
Here is an example as Common Cathode :
5145

examples/BasicColorLedControl.ino renamed to examples/BasicColorLedControl/BasicColorLedControl.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ void unsetLEDs(void);
1717
void TestLEDs(void);
1818
*/
1919

20-
#include "src/BasicColorLedControl.h"
20+
#include <BasicColorLedControl.h>
2121
BasicColorLedControl RGBled;
2222

2323
void setup() {

0 commit comments

Comments
 (0)