gpa in double prescision

Dependencies:   mbed

Revision:
3:a951d699878b
Parent:
2:252a61a7e8f9
Child:
4:47581778e863
--- a/main.cpp	Thu Mar 01 10:37:18 2018 +0000
+++ b/main.cpp	Thu Mar 01 10:59:47 2018 +0000
@@ -10,29 +10,34 @@
 #include "LinearCharacteristics.h"
 /* Cuboid balance on one edge on Nucleo F446RE
 
+
  **** IMPORTANT: use ..\Labormodelle\RT-MOD054 - Würfel\Escon_Parameter_4nucleo.edc 
                  settings for Maxon ESCON controller (upload via ESCON Studio) ****
 hardware Connections:
  
  CN7                    CN10
-  :                     :
-  :                     :
- ..                     ..
- ..            ENC CH A o.
- o. GND                 ..                  10.
- o. ENC CH B            ..
- ..                     ..
- ..                     ..
- .o AIN acx (PA_0)      ..  
- .o AIN acy (PA_1)      ..                  5.
- .o i_soll(PA_4)        .o Analog GND
- .o AIN Gyro (PB_0)     ..
- ..                     ..              
- ..                     ..                  1. 
- -------------------------
+  :                         :
+  :                         :
+ ..                        ..
+ ..                        ..                  15.
+ ..    AOUT i_des on (PA_5)o.
+ ..                        ..
+ ..                        ..
+ ..               ENC CH A o.
+ o. GND                    ..                  10.
+ o. ENC CH B               ..
+ ..                        ..
+ ..                        ..
+ .o AIN acx (PA_0)         ..  
+ .o AIN acy (PA_1)         ..                  5.
+ .o AIN Gyro(PA_4)         .o Analog GND
+ ..                        ..
+ ..                        ..              
+ ..                        ..                  1. 
+ ----------------------------
  CN7               CN10
  */
-Serial pc(SERIAL_TX, SERIAL_RX);        // serial connection via USB - programmer
+ Serial pc(SERIAL_TX, SERIAL_RX);        // serial connection via USB - programmer
 InterruptIn button(USER_BUTTON);        // User Button, short presses: reduce speed, long presses: increase speed
 AnalogIn ax(PA_0);                      // Analog IN (acc x) on PA_0
 AnalogIn ay(PA_1);                      // Analog IN (acc y) on PA_1