mirror of
https://gitlab.dit.htwk-leipzig.de/phillip.kuehne/dezibot.git
synced 2025-07-05 02:01:42 +02:00
added example sketches
This commit is contained in:
14
example/advanced/zaehlen/zaehlen.ino
Normal file
14
example/advanced/zaehlen/zaehlen.ino
Normal file
@ -0,0 +1,14 @@
|
||||
#include <Dezibot.h>
|
||||
Dezibot dezibot = Dezibot();
|
||||
void setup() {
|
||||
dezibot.begin();
|
||||
}
|
||||
void loop() {
|
||||
for (int i=1; i<=10; i++){
|
||||
dezibot.display.clear();
|
||||
dezibot.display.print(i);
|
||||
delay(1000);
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user