
Starter firmware project for the Imperial College EEE SWITCH lab
Dependencies: Adafruit_GFX mbed
Revision 1:5aebe57872ed, committed 2016-04-08
- Comitter:
- estott
- Date:
- Fri Apr 08 11:35:29 2016 +0000
- Parent:
- 0:775d3ce39c34
- Child:
- 2:a5b7373c4644
- Commit message:
- Fixed typo in comments
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Fri Apr 08 11:30:55 2016 +0000 +++ b/main.cpp Fri Apr 08 11:35:29 2016 +0000 @@ -85,13 +85,13 @@ } -//Interrupt Service Request for rising edge on the switch oscillator input +//Interrupt Service Routine for rising edge on the switch oscillator input void sedge() { //Increment the edge counter scounter++; } -//Interrupt Service Request for the switch sampling timer +//Interrupt Service Routine for the switch sampling timer void tout() { //Read the edge counter into the output register scount = scounter;