added main() func testing for setup.

This commit is contained in:
Jake Goodwin 2023-01-14 11:51:31 -08:00
parent 2150baa106
commit 056e7a0375
1 changed files with 5 additions and 6 deletions

View File

@ -30,15 +30,14 @@ int main() {
//enable interrupts
sei();
unsigned char data[] = "AT+WAKE";
uint8_t buf_len = 12;
unsigned char data[12] = "HELLO WORLD\0";
while(1) {
serial0_write(data, buf_len);
_delay_ms(1000);
//led_blink();
for(uint8_t i = 0; i < 7; i++) {
tx_usart0(data[i]);
}
}
return 0;