mirror of
https://github.com/markqvist/OpenModem.git
synced 2025-05-15 04:42:15 -04:00
GPS driver implemented
This commit is contained in:
parent
07b589fe3f
commit
4827565bc8
10 changed files with 634 additions and 113 deletions
|
@ -2,8 +2,10 @@
|
|||
#include "hardware/Bluetooth.h"
|
||||
|
||||
void usrio_init(void) {
|
||||
USR_IO_DDR |= _BV(USR_IO_1) | _BV(USR_IO_2);
|
||||
// TODO: Add BT module detect and set up other pins accordingly
|
||||
USR_IO_DDR |= _BV(USR_IO_1) | _BV(USR_IO_2);
|
||||
if (!bluetooth_enabled()) {
|
||||
USR_IO_DDR |= _BV(USR_IO_3) | _BV(USR_IO_4);
|
||||
}
|
||||
}
|
||||
|
||||
bool usrio_1(void) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue