Advertisement
Alx09

Untitled

Mar 8th, 2021
764
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.42 KB | None | 0 0
  1. void setup()
  2. {
  3.   DDRD = 0x7F;
  4.   DDRC = 0xFF;
  5.   DDRB = 0x00;
  6.   PORTB = 0x04;
  7. }
  8.  
  9. void loop()
  10. {
  11.   /*PORTD = 0x06;
  12.   delay(1000);
  13.   PORTD = 0x5B;
  14.   delay(1000);
  15.   PORTD = 0x4F;
  16.   delay(1000);
  17.   PORTD = 0x66;
  18.   delay(1000);
  19.   PORTD = 0x6D;
  20.   delay(1000);
  21.   PORTD = 0x7D;
  22.   delay(1000);
  23.   PORTD = 0x07;
  24.   delay(1000);
  25.   PORTD = 0x7F;
  26.   delay(1000);
  27.   PORTD = 0x67;
  28.   delay(1000);*/
  29.  
  30.     //PORTD = 0x;
  31.  
  32. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement