p15-20 Maskieren

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
mSeiser
Date:
Mon Jan 11 16:19:26 2016 +0000
Parent:
0:74e499089331
Commit message:
Maskieren von p15-20;

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
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) {