PWM

Dependencies:   mbed

Committer:
Polteko123
Date:
Sat Jan 16 20:30:27 2016 +0000
Revision:
1:1920065c0e72
Parent:
0:7297f7629703
PWM

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Polteko123 0:7297f7629703 1 #include "mbed.h"
Polteko123 0:7297f7629703 2
Polteko123 1:1920065c0e72 3 #define PWM_Mask1 0x00020080
Polteko123 1:1920065c0e72 4 #define PWM_Mask2 0x01830000
Polteko123 0:7297f7629703 5
Polteko123 0:7297f7629703 6 PortOut PWMPort1(Port1, PWM_Mask1);
Polteko123 0:7297f7629703 7 PortOut PWMPort2(Port0, PWM_Mask2);
Polteko123 0:7297f7629703 8
Polteko123 0:7297f7629703 9 int main() {
Polteko123 0:7297f7629703 10
Polteko123 0:7297f7629703 11 }