mirror of
https://github.com/markqvist/OpenModem.git
synced 2025-05-02 14:36:20 -04:00
GPS driver implemented
This commit is contained in:
parent
07b589fe3f
commit
4827565bc8
10 changed files with 634 additions and 113 deletions
|
@ -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"));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue