Updated for FZ429

Dependencies:   mbed

main.cpp

Committer:
noutram
Date:
2018-11-12
Revision:
3:e4903708d489
Parent:
0:437c844cec26

File content as of revision 3:e4903708d489:

#include "mbed.h"

PwmOut pwmRed(D6);

int T = 10;
int Tmark = 1;

int main() {
    
    pwmRed.period_us(T);
    pwmRed.pulsewidth_us(Tmark);
    
    while(1) {
        sleep();
    }
}