M Seiser
/
Aufgabe4_PortIn_PortOut
p15-20 Maskieren
Diff: main.cpp
- Revision:
- 1:e7bb2d3d4400
- Parent:
- 0:74e499089331
--- 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) {