You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,13 +5,17 @@ An API that lets you display numbers and letters on Neo7Segment RGB LED displays
5
5
The downloaded code should be added to your arduino IDE libraries folder, and the library requires the [Adafruit NeoPixel library](https://github.com/adafruit/Adafruit_NeoPixel) for it to function.
6
6
7
7
To include the Neo7Segment library in your project:
8
+
8
9
#include <Neo7Segment.h>
9
10
10
11
You can then initialise the display with the following line that includes the number of Neo7Segment digits and the GPIO to control them:
12
+
11
13
Neo7Segment disp( 5, 4 );
12
14
13
15
You then start the display with the bebin method, passing the brightness:
16
+
14
17
disp.Begin(20);
15
18
16
19
The you simply pass the display the String you would like displayed and a color:
0 commit comments