added main() func testing for setup.
This commit is contained in:
parent
2150baa106
commit
056e7a0375
|
@ -30,14 +30,13 @@ int main() {
|
||||||
//enable interrupts
|
//enable interrupts
|
||||||
sei();
|
sei();
|
||||||
|
|
||||||
unsigned char data[] = "AT+WAKE";
|
uint8_t buf_len = 12;
|
||||||
|
unsigned char data[12] = "HELLO WORLD\0";
|
||||||
|
|
||||||
|
|
||||||
while(1) {
|
while(1) {
|
||||||
|
serial0_write(data, buf_len);
|
||||||
_delay_ms(1000);
|
_delay_ms(1000);
|
||||||
//led_blink();
|
|
||||||
for(uint8_t i = 0; i < 7; i++) {
|
|
||||||
tx_usart0(data[i]);
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue