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 21 11:36:19 2017 +0000
Parent:
1:3250ba797c16
Child:
3:768d30157488
Commit message:
ADC now sampled in a thread and NOT ISR

Changed in this revision

sample_hardware.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/sample_hardware.cpp	Tue Nov 14 15:15:50 2017 +0000
+++ b/sample_hardware.cpp	Tue Nov 21 11:36:19 2017 +0000
@@ -15,7 +15,7 @@
 DigitalIn  SW1(PE_12);
 DigitalIn  SW2(PE_14);
 //Serial pc(USBTX, USBRX);
-AnalogIn adcIn(A0);
+AnalogIn adcIn(PA_0);
 
 //POWER ON SELF TEST
 void post()