Add software UART and battery monitor
This commit is contained in:
parent
01fa462e2c
commit
862f519e24
7 changed files with 227 additions and 3 deletions
|
|
@ -3,6 +3,11 @@
|
|||
|
||||
#include <stdbool.h>
|
||||
|
||||
// RN-42 CTS pin
|
||||
#define CTS_INIT() (DDRD |= (1<<5))
|
||||
#define CTS_HI() (PORTD |= (1<<5))
|
||||
#define CTS_LO() (PORTD &= ~(1<<5))
|
||||
|
||||
host_driver_t rn42_driver;
|
||||
host_driver_t rn42_config_driver;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue