Merck / Mbed OS SmartCap_OS5

Dependencies:   nRF51822

Revision:
0:cec02cf6df66
Child:
1:b08ee63a2822
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.h	Thu Sep 01 21:20:59 2016 +0000
@@ -0,0 +1,22 @@
+
+#ifndef MAIN_H
+#define MAIN_H
+
+
+#define UART_DEBUGGING 0 // put a '1' here if you are debugging on the BLE UART, otherwise make it 0. Turns on: shows records being added to log, will not allow a ble connection to timeout
+
+#define FW_VERSION  000 //  major revisions will be 1xx, 2xx, etc.
+
+// Digital I/O lines
+#define PRESS           p3      // Will be shorted to battery terminal when pressed.  Need internal pull-up or pull-down
+#define SOUND_ANALOG    p1      // Analog signal from opto sensor 
+#define VDD_ENABLE      p24     // Analog voltage on when hi
+#define TP              p2      // Test Point
+
+// ADC defines
+#define ADC_CHAN_BATTERY    0 /* no I/O pin, done internally */
+#define ADC_CHAN_SOUND      2 /* p1 or Analog2 */
+
+
+
+#endif // #ifndef MAIN_H
\ No newline at end of file