Nucleo-transfer

Dependencies:   ADS1015 MPU6050 PixelArray-Nucleo mbed

Fork of Nucleo-transfer by I L

Revision:
30:bc0bddc6f8d1
Parent:
29:45647b61f4cf
Child:
31:24770fa8114b
--- a/Sensorplate/main.cpp	Thu Oct 05 15:24:57 2017 +0000
+++ b/Sensorplate/main.cpp	Mon Oct 09 09:25:50 2017 +0000
@@ -4,6 +4,7 @@
 Source          :   developer.mbed.org
 File            :   main.cpp
 Version | -date :   1.0 | 28-9-2017
+Flowchart       :   https://drive.google.com/open?id=0B_6KzOyPBBX-NExwRFc1VEtEdUk
 */
 
 /************************ CONFIG ***********************************/
@@ -78,7 +79,7 @@
 short batteryvoltage_current = 0, batteryvoltage_last = 0, powervoltage_current, powervoltage_last;                  // Variables to manage batteryvoltage.
 int intensity_day = 50, intensity_night = 25;                               // Intensity settings for LED's to wall.
 double intensity, control_LED_intensity = 0;                                           // Variable between 0 and 1 to set the intensity of the LED's above the buttons.
-int a; //test
+int a; // Test
 
 /*************************** CODE ********************************/
 
@@ -543,7 +544,7 @@
     pr2.setGain(GAIN_TWOTHIRDS); // set range to +/-6.144V
     pel.setGain(GAIN_TWOTHIRDS); // set range to +/-6.144V
     adsAccu.setGain(GAIN_TWOTHIRDS); // set range to +/-6.144V
-    pi.format(8, SerialBase::None, 1);
+    pi.format(8, SerialBase::Even, 1);
 
     lock.fall(&trigger_lock);                                               // Interrupt for rising edge lock button.
     lock.rise(&timer_lock);