Library of hardware declarations and utility functions for the ELEC350/1 Practicals and Coursework

Dependents:   ELEC351_v1 ELEC350-CWTEMPLATE-2017 ELEC350-CWTEMPLATE-2017 ELEC350-CWTEMPLATE-2018

Fork of ELEC350-Practicals-FZ429 by University of Plymouth - Stages 1, 2 and 3

sample_hardware.hpp

Committer:
noutram
Date:
2017-11-14
Revision:
1:3250ba797c16
Parent:
0:6f9f2e93a0be
Child:
4:d884f14069c6

File content as of revision 1:3250ba797c16:

#ifndef __sample_hardware__
#define __sample_hardware__
extern DigitalOut onBoardLED;
extern DigitalOut redLED;
extern DigitalOut yellowLED;
extern DigitalOut greenLED;

extern DigitalIn  onBoardSwitch;
extern DigitalIn  SW1;
extern DigitalIn  SW2;
//extern Serial pc;
extern AnalogIn adcIn;

extern void post();

#endif