Added bluetooth and user I/O drivers

This commit is contained in:
Mark Qvist 2019-01-29 16:41:27 +01:00
parent 4df7a7d781
commit f1a951e508
14 changed files with 541 additions and 58 deletions

19
hardware/Bluetooth.h Normal file
View file

@ -0,0 +1,19 @@
#ifndef BT_H
#define BT_H
#include <avr/io.h>
#include <string.h>
#include <stdlib.h>
#include <stdbool.h>
#include <stdio.h>
#include "device.h"
#include "util/time.h"
#include "hardware/serial.h"
void bluetooth_init(void);
bool bluetooth_enabled(void);
#endif
// CMD/DATA sequence: 0x2b2b2b0d