simple digital out test for Kieran and George

Dependencies:   mbed

main.cpp

Committer:
nherriot
Date:
2012-05-14
Revision:
0:47c9955d2655
Child:
1:47ca6e1d2bb2

File content as of revision 0:47c9955d2655:

#include "mbed.h"

DigitalOut red(p5);
DigitalOut myled(LED1);

//DigitalOut green(p6);
//DigitalOut blue(p7);

int main() {
    // testing digital out 3.3volts on pin 5
    // flash LED 1 at the same time for visual clue that it works
    while(1) {
    
        red = 1;
        myled = 1;
        wait(1);
    }    
   
}