Y SI / lib_PwmOutAllPin
Embed: (wiki syntax)

« Back to documentation index

lib_PwmOutAllPin.h File Reference

lib_PwmOutAllPin.h File Reference

Lib PwmOutAllPin using TimeOut. More...

Go to the source code of this file.

Data Structures

class  PwmOutAllPin
 PwmOutAllPin class. More...

Detailed Description

Lib PwmOutAllPin using TimeOut.

Copyright (c) 2014, cstyles (http://mbed.org)

Exemple:

 #include "mbed.h"
 #include "lib_PwmOutAllPin.h"
 
 PwmOutAllPin pin1(p20);
 PwmOutAllPin pin2(p12);
 
 int main()
 {
     pin2.period(0.0002);
     pin2 = 0.25;
     pin1 = 0.5;
     pin1.period_us(20);
 
     while(1)
     {
        wait(0.25);
     }
 }

library for PwmOut on all pins

Date:
2015
Author:
Yannic Simon

Definition in file lib_PwmOutAllPin.h.