Cortex Challenge Team / Mbed 2 deprecated Nucleo_read_analog_set

Dependencies:   mbed

Fork of Nucleo-Analog_read by Cortex Challenge Team

Revision:
3:a87ea8280bcf
Parent:
2:eb5ee8191175
Child:
4:da95e07f350a
--- a/main.cpp	Sat Mar 21 14:32:22 2015 +0000
+++ b/main.cpp	Sun Mar 22 12:37:02 2015 +0000
@@ -1,8 +1,8 @@
 /**********************************************************************************
 * @file    main.cpp
-* @author  Name
-* @version V0.1
-* @date    09-March-2015
+* @author  Petr Dousa
+* @version V1.00
+* @date    22-March-2015
 * @brief   Read analog value and write it to serial.
 *          It could be set some settings through serial.
 *          Serial speed is set to 115200.
@@ -33,6 +33,8 @@
 #define voltage 3300                        //voltage in mV, which is used in Nucleo kits
 #define mv(x)       ((x*voltage)/0xFFFF)    // raw value to value in mili volts
 
+/* Function prototypes -----------------------------------------------------------*/
+
 /* Variables ---------------------------------------------------------------------*/
 int voltages =0;            //voltage to compare and start print
 bool start = true;          // if true it print value to serial