Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void setup() {
- DDRC=0x3f;
- }
- void loop() {
- for (uint8_t a=0; a<6; a++)
- {
- PORTC=(1<<a);
- delay(100);
- }
- for (uint8_t a=6; a>0; a--)
- {
- PORTC=(1<<a);
- delay(100);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement