Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
sample_hardware.hpp
- Committer:
- noutram
- Date:
- 2017-11-22
- Revision:
- 4:d884f14069c6
- Parent:
- 1:3250ba797c16
- Child:
- 5:58ba1a6dbf60
File content as of revision 4:d884f14069c6:
#ifndef __sample_hardware__
#define __sample_hardware__
enum ELEC350_ERROR_CODE {OK, FATAL};
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();
extern void errorCode(ELEC350_ERROR_CODE err);
#endif