Skip to content

Commit 1832e05

Browse files
Fixed formatting in readme
1 parent b48374e commit 1832e05

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,17 @@ An API that lets you display numbers and letters on Neo7Segment RGB LED displays
55
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.
66

77
To include the Neo7Segment library in your project:
8+
89
#include <Neo7Segment.h>
910

1011
You can then initialise the display with the following line that includes the number of Neo7Segment digits and the GPIO to control them:
12+
1113
Neo7Segment disp( 5, 4 );
1214

1315
You then start the display with the bebin method, passing the brightness:
16+
1417
disp.Begin(20);
1518

1619
The you simply pass the display the String you would like displayed and a color:
20+
1721
disp.DisplayText( "1234", disp.Color( 255,0,0) );

0 commit comments

Comments
 (0)