smd.iotkit.ch / Mbed 2 deprecated 0-06-01-Uebung

Dependencies:   mbed

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

Revision:
2:83598aa88c56
Parent:
1:4ef719bf702c
Child:
3:6dfb04216698
--- a/main.cpp	Sat Feb 21 05:37:05 2015 +0000
+++ b/main.cpp	Sat Feb 21 07:55:14 2015 +0000
@@ -3,7 +3,7 @@
 
 #include "mbed.h"
 
-DigitalIn   button1( PTC9 );        // 1. Button auf thShield   
+DigitalIn   button1( PTC9, PullUp );        // 1. Button auf thShield   
 DigitalOut  led( D10 );             // 1. LED auf thShield
 
 int main()