Xiaohai Li
/
AirBoxProto
Demo
Diff: PeripheralLayer/AirAdaptorLib.cpp
- Revision:
- 2:0ee90da44162
- Parent:
- 0:3dac4f477e98
--- a/PeripheralLayer/AirAdaptorLib.cpp Thu Jul 09 05:14:58 2015 +0000 +++ b/PeripheralLayer/AirAdaptorLib.cpp Thu May 19 15:52:24 2016 +0000 @@ -16,6 +16,8 @@ //GPIO for CD4052 serial mux control DigitalOut smux_a(PB_14, 0), smux_b(PB_13, 0), smux_oe_n(PB_15, 1); +AnalogIn adc_ch10(PC_0), adc_ch11(PC_1); + //Init board library //--> Success return 0 @@ -159,4 +161,4 @@ { for(int ledNum = 0; ledNum < LED_NUM_MAX; ledNum++) LedOff(ledNum); -} \ No newline at end of file +}