Pull request for i.a. sensor buffer template

Dependencies:   BLE_API MPU6050 mbed nRF51822

IO.cpp

Committer:
JustinAtAlten
Date:
2018-11-15
Revision:
11:8c38e284e9f7
Parent:
10:eed92ffd0bba

File content as of revision 11:8c38e284e9f7:

#include "IO.h"

// InterruptIn button(BUTTON_PIN);
AnalogIn	battery(BATTERY_PIN);
MPU6050 	mpu(MPU6050_SDA, MPU6050_SCL);
// InterruptIn motion_probe(p14);
#ifdef USE_SERIAL
Serial 		pc(UART_TX, UART_RX);
#endif /* USE_SERIAL */

DigitalOut blue(LED_BLUE);
DigitalOut green(LED_GREEN);
DigitalOut red(LED_RED);