GPS driver implemented

This commit is contained in:
Mark Qvist 2019-02-04 17:02:19 +01:00
parent 07b589fe3f
commit 4827565bc8
10 changed files with 634 additions and 113 deletions

View file

@ -13,7 +13,7 @@ void bluetooth_init(void) {
// Check module RTS pin is pulled low
if (!(BT_INPUT &_BV(BT_RTS))) {
// Reconfigure UART to 9600 baud and issue reset
serial_setbaudrate_9600();
serial_setbaudrate_9600(0);
delay_ms(BT_AT_DELAY*2);
printf(PSTR("AT"));
printf(PSTR("AT+FACTORYRESET\r\n"));