Library of hardware declarations and utility functions for the ELEC350/1 Practicals and Coursework
Dependents: Task618-mbedos-F429ZI Task621-mbedos_FZ429ZI Task622-mbedos-FZ429ZI Task632-mbedos-FZ429 ... more
Revision 7:d0e445a97c60, committed 2017-12-06
- Comitter:
- noutram
- Date:
- Wed Dec 06 15:57:58 2017 +0000
- Parent:
- 6:d95616e645bb
- Child:
- 8:df979097cc71
- Commit message:
- Demo of the LCD, BMP280 and SD Card
Changed in this revision
| sample_hardware.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- 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());