//#include<LCD.h>
uint8_t t = 50;
void setup() {
DDRC = 0b11111111; // dATA
DDRA = 0b00000011; // VADIBA
PORTA = 0b00000000;
PORTC = 0b00000000;
}
void loop() {
delay(100);
PORTC = 0b00111000;
PORTA = 0b00000001;
delay(t);
//delay(5000);
PORTA = 0b00000000;
delay(t);
PORTC = 0b00001100;
PORTA = 0b00000001;
delay(t);
PORTA = 0b00000000;
PORTC = 0b00000110;
PORTA = 0b00000001;
delay(t);
PORTA = 0b00000000;
delay(t);
////////////////////////////
PORTA = 0b00000010;
delay(t);
PORTC = 0b00110000;
//delay(t);
PORTA = 0b00000011;
delay(t);
PORTA = 0b00000000;
/*
//delay(t);
PORTC = 0b10010010;///////
//delay(t);
PORTA = 0b00000001;
delay(t);
PORTA = 0b00000000;
delay(t);
PORTA = 0b00000010;
PORTC = 0b01001100;
delay(t);
PORTA = 0b00000011;
delay(t);
*/
delay(2000);
}
/*
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
*/