Add software UART and battery monitor

This commit is contained in:
tmk 2014-07-14 15:20:10 +09:00
parent 01fa462e2c
commit 862f519e24
7 changed files with 227 additions and 3 deletions

View file

@ -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;