p15-20 Maskieren

Dependencies:   mbed

Revision:
1:e7bb2d3d4400
Parent:
0:74e499089331
diff -r 74e499089331 -r e7bb2d3d4400 main.cpp
--- a/main.cpp	Mon Jan 11 16:04:07 2016 +0000
+++ b/main.cpp	Mon Jan 11 16:19:26 2016 +0000
@@ -3,9 +3,9 @@
 #include "mbed.h"
  
 
-#define Port_MASK 0x00417800
+#define Pin_MASK 0x00417800
  
-PortOut p(Port0, Port_MASK);
+PortIn p(Port0, Pin_MASK);
  
 int main() {
     while(1) {