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: extras/docs/Usage.md
+44Lines changed: 44 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -229,5 +229,49 @@ Control blinking by digit. This function controls the blinking property of one d
229
229
The following Sketch uses Serial1 as display port, displays counts from 0-999 in both decimal and hexdecimal format and a float point number starting form 1.23 increased by 0.01 each step. The display changed every second.
230
230
231
231
```c
232
+
#include<UART_7Seg_Display.h>
232
233
234
+
#defineLED_SERIALSerial1 // By default this code uses Serial1 as LED display port
235
+
// If you are using Arduino with only 1 Serial (such as UNO), you may want to disable
236
+
// the above line and use the following setting:
237
+
// #include <SoftwareSerial.h>
238
+
// #define LED_SERIAL swSerial
239
+
// SoftwareSerial swSerial(11, 12); // creating SoftwareSerial instance, using pin 11 as Rx, 12 as Tx (Rx not used in this example)
0 commit comments