4.1 LED x Sekunden aufleuchten bei Tastendruck (if, wait)

Dependencies:   mbed

Fork of 04-01-Uebung by th.iotkit.ch

Files at this revision

API Documentation at this revision

Comitter:
stefan1691
Date:
Fri Apr 17 12:53:57 2015 +0000
Parent:
1:7f7f61c5830b
Commit message:
4.1 LED x Sekunden aufleuchten bei Tastendruck (if, wait)

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 7f7f61c5830b -r c10bfcff99ce main.cpp
--- a/main.cpp	Sat Feb 21 07:58:49 2015 +0000
+++ b/main.cpp	Fri Apr 17 12:53:57 2015 +0000
@@ -3,8 +3,8 @@
  
 #include "mbed.h"
  
-DigitalIn   button1( PTC9, PullUp );        // 1. Taster auf thShield   
-DigitalOut  led( D10 );             // 1. LED auf thShield
+DigitalIn   button1( A0 );        // 1. Taster auf Shield   
+DigitalOut  led( D10 );           // 1. LED auf Shield
  
 int main()
 {