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

Files at this revision

API Documentation at this revision

Comitter:
noutram
Date:
Tue Nov 14 15:15:50 2017 +0000
Parent:
0:6f9f2e93a0be
Child:
2:24eb98cf2376
Commit message:
Update for FZ429

Changed in this revision

sample_hardware.cpp Show annotated file Show diff for this revision Revisions of this file
sample_hardware.hpp Show annotated file Show diff for this revision Revisions of this file
--- a/sample_hardware.cpp	Thu Nov 09 14:24:12 2017 +0000
+++ b/sample_hardware.cpp	Tue Nov 14 15:15:50 2017 +0000
@@ -15,6 +15,7 @@
 DigitalIn  SW1(PE_12);
 DigitalIn  SW2(PE_14);
 //Serial pc(USBTX, USBRX);
+AnalogIn adcIn(A0);
 
 //POWER ON SELF TEST
 void post() 
--- a/sample_hardware.hpp	Thu Nov 09 14:24:12 2017 +0000
+++ b/sample_hardware.hpp	Tue Nov 14 15:15:50 2017 +0000
@@ -9,6 +9,7 @@
 extern DigitalIn  SW1;
 extern DigitalIn  SW2;
 //extern Serial pc;
+extern AnalogIn adcIn;
 
 extern void post();