Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <Charliplexing.h>
- #include <Figure.h>
- #include <Font.h>
- int x;
- void setup() {
- // put your setup code here, to run once:
- LedSign::Init();
- randomSeed(analogRead(0));
- x = random(0,13);
- LedSign::Vertical(x,1);
- }
- void loop() {
- // put your main code here, to run repeatedly:
- for(int y = 0; y <= x; y++){
- LedSign::Set(y,4,1);
- delay(500);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement