Lab that has to do with basic IO on mbed.

Dependencies:   DebounceIn mbed PinDetect

JessesLab1/main.cpp

Committer:
gtzintzarov3
Date:
2016-01-15
Revision:
34:2749d3f57060
Parent:
33:275385014ba9
Child:
36:d96476f81b9f

File content as of revision 34:2749d3f57060:

/* <- remove this if you want to code this and comment Georges
#include "mbed.h"
//#include "DebounceIn.h"
 
 
DigitalIn pb(p8);
DigitalOut led(LED1);
 
int main() {
 
    while(1) {
 
        if(pb) {
 
            led = !led;
 
        }
        wait(0.25);
    }
 
}

*/