Pull request for i.a. sensor buffer template

Dependencies:   BLE_API MPU6050 mbed nRF51822

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers IO.cpp Source File

IO.cpp

00001 #include "IO.h"
00002 
00003 // InterruptIn button(BUTTON_PIN);
00004 AnalogIn    battery(BATTERY_PIN);
00005 MPU6050     mpu(MPU6050_SDA, MPU6050_SCL);
00006 // InterruptIn motion_probe(p14);
00007 #ifdef USE_SERIAL
00008 Serial      pc(UART_TX, UART_RX);
00009 #endif /* USE_SERIAL */
00010 
00011 DigitalOut blue(LED_BLUE);
00012 DigitalOut green(LED_GREEN);
00013 DigitalOut red(LED_RED);
00014 
00015