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
sample_hardware.hpp@1:3250ba797c16, 2017-11-14 (annotated)
- Committer:
- noutram
- Date:
- Tue Nov 14 15:15:50 2017 +0000
- Revision:
- 1:3250ba797c16
- Parent:
- 0:6f9f2e93a0be
- Child:
- 4:d884f14069c6
Update for FZ429
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| noutram | 0:6f9f2e93a0be | 1 | #ifndef __sample_hardware__ |
| noutram | 0:6f9f2e93a0be | 2 | #define __sample_hardware__ |
| noutram | 0:6f9f2e93a0be | 3 | extern DigitalOut onBoardLED; |
| noutram | 0:6f9f2e93a0be | 4 | extern DigitalOut redLED; |
| noutram | 0:6f9f2e93a0be | 5 | extern DigitalOut yellowLED; |
| noutram | 0:6f9f2e93a0be | 6 | extern DigitalOut greenLED; |
| noutram | 0:6f9f2e93a0be | 7 | |
| noutram | 0:6f9f2e93a0be | 8 | extern DigitalIn onBoardSwitch; |
| noutram | 0:6f9f2e93a0be | 9 | extern DigitalIn SW1; |
| noutram | 0:6f9f2e93a0be | 10 | extern DigitalIn SW2; |
| noutram | 0:6f9f2e93a0be | 11 | //extern Serial pc; |
| noutram | 1:3250ba797c16 | 12 | extern AnalogIn adcIn; |
| noutram | 0:6f9f2e93a0be | 13 | |
| noutram | 0:6f9f2e93a0be | 14 | extern void post(); |
| noutram | 0:6f9f2e93a0be | 15 | |
| noutram | 0:6f9f2e93a0be | 16 | #endif |