Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Revision 1:1920065c0e72, committed 2016-01-16
- 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 |
diff -r 7297f7629703 -r 1920065c0e72 main.cpp --- 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);