PWM

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
Polteko123
Date:
Sat Jan 16 20:30:27 2016 +0000
Parent:
0:7297f7629703
Commit message:
PWM

Changed in this revision

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