Nucleo-transfer
Dependencies: ADS1015 MPU6050 PixelArray PixelArray-Nucleo mbed WS2813
Fork of Nucleo-transfer by
Diff: Sensorplate/main.cpp
- Revision:
- 50:442d13dff34a
- Parent:
- 48:aca02ef5cd01
- Child:
- 51:69087c44e8ac
--- a/Sensorplate/main.cpp Tue Jan 16 12:05:00 2018 +0000 +++ b/Sensorplate/main.cpp Tue Jan 16 12:36:52 2018 +0000 @@ -77,13 +77,11 @@ -> For detailed information/questions about this item, please read the technical manual or contact: Ricardo Molenaar | ricardo.molenaar@gmail.com */ I2C i2c_sensorplate_adc(PB_9, PB_8); // I2C for sensorplate. -//I2C i2c_power_adc(PB_11, PB_10); // I2C for accupack. MPU6050_belt angle_device_sensorplate(PB_9, PB_8); // i2c pins // i2c address hardcoded 0x68. MPU6050_belt angle_device_reference_belt(PB_9, PB_8); // i2c pins // i2c address hardcoded 0x69. Adafruit_ADS1115 piezo_resistive_adc1(&i2c_sensorplate_adc, 0x48); // i2c pins, i2c address. Adafruit_ADS1115 piezo_resistive_adc2(&i2c_sensorplate_adc, 0x49); // i2c pins, i2c address. Adafruit_ADS1115 piezo_electric_adc(&i2c_sensorplate_adc, 0x4B); // i2c pins, i2c address. -//Adafruit_ADS1115 adsAccu(&i2c_power_adc, 0x48); // i2c pins, i2c address. Serial usb_serial(SERIAL_TX, SERIAL_RX); // tx, rx Serial pi_serial(PC_10, PC_11); // tx, rx Ticker total_readout_cycle; // Polling cycle.