sensor
Diff: sample_hardware.cpp
- Revision:
- 7:d0e445a97c60
- Parent:
- 6:d95616e645bb
- Child:
- 8:df979097cc71
--- a/sample_hardware.cpp Thu Nov 23 14:01:24 2017 +0000 +++ b/sample_hardware.cpp Wed Dec 06 15:57:58 2017 +0000 @@ -45,6 +45,7 @@ //Output the switch states (hold them down to test) printf("SW1: %d\tSW2: %d\n\r", SW1.read(), SW2.read()); + printf("USER: %d\n\r", onBoardSwitch.read()); //Output the ADC printf("ADC: %f\n\r", adcIn.read());