Advertisement
Guest User

Untitled

a guest
Nov 17th, 2019
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. #include <SevSegDisplayOne.h>
  2. Display display(2, 3, 4, 5, 6, 7, 8, 9); //Initializing object and pins
  3.  
  4. int number;
  5.  
  6. void setup() {
  7.  
  8. }
  9.  
  10. void loop() {
  11. display.write(1, true);
  12. delay(500);
  13. display.write(2, false);
  14. delay(500);
  15. display.write(4, true);
  16. delay(500);
  17. display.write(5, false);
  18. delay(500);
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement