Lab1

Dependencies:   mbed Joystick MPR121_Demo

Committer:
rmaran6
Date:
Tue Aug 30 21:22:13 2016 +0000
Revision:
0:b6b25be5f240
Child:
1:a8881b932dd3
4180Lab1

Who changed what in which revision?

UserRevisionLine numberNew contents of line
rmaran6 0:b6b25be5f240 1 #include "mbed.h"
rmaran6 0:b6b25be5f240 2
rmaran6 0:b6b25be5f240 3 DigitalOut myled(LED1);
rmaran6 0:b6b25be5f240 4
rmaran6 0:b6b25be5f240 5 int main() {
rmaran6 0:b6b25be5f240 6 while(1) {
rmaran6 0:b6b25be5f240 7 myled = 1;
rmaran6 0:b6b25be5f240 8 wait(0.2);
rmaran6 0:b6b25be5f240 9 myled = 0;
rmaran6 0:b6b25be5f240 10 wait(0.2);
rmaran6 0:b6b25be5f240 11 }
rmaran6 0:b6b25be5f240 12 }