julian Roll
/
PWM-Out
PWM
Diff: main.cpp
- Revision:
- 1:1920065c0e72
- Parent:
- 0:7297f7629703
--- a/main.cpp Mon Jan 11 16:26:29 2016 +0000 +++ b/main.cpp Sat Jan 16 20:30:27 2016 +0000 @@ -1,7 +1,7 @@ #include "mbed.h" -#define PWM_Mask1 0x -#define PWM_Mask2 0x +#define PWM_Mask1 0x00020080 +#define PWM_Mask2 0x01830000 PortOut PWMPort1(Port1, PWM_Mask1); PortOut PWMPort2(Port0, PWM_Mask2);