Library that allows for higher resolution and speed than standard mbed PWM library using same syntax (drop-in replacement).

Dependencies:   RGBLed

Dependents:   Widgets

History

... default tip

2020-07-22, by 20172573007 [Wed, 22 Jul 2020 18:35:42 +0000] rev 36

...


Replace new/delete with malloc/free for void *. Deleting void pointer is undefined behavior in C++.

2019-10-30, by blaze [Wed, 30 Oct 2019 03:00:00 +0000] rev 35

Replace new/delete with malloc/free for void *. Deleting void pointer is undefined behavior in C++.


Removed wait statement which was for debug

2017-09-03, by Sissors [Sun, 03 Sep 2017 19:40:01 +0000] rev 34

Removed wait statement which was for debug


KSDK (K64F) update

2017-09-03, by Sissors [Sun, 03 Sep 2017 16:26:07 +0000] rev 33

KSDK (K64F) update
; Now it should properly synchronize PWM updates again
;
; Serious @mbed, clearing the timer is not a proper synchronisation mechanic for PWM!


Fixed issue where STM32 PWM on MCUs with high clock frequency could be a factor of two too fast

2017-01-01, by Sissors [Sun, 01 Jan 2017 14:37:55 +0000] rev 32

Fixed issue where STM32 PWM on MCUs with high clock frequency could be a factor of two too fast


Temporary fix for K64F with new mbed lib:

2016-09-06, by Sissors [Tue, 06 Sep 2016 20:17:21 +0000] rev 31

Temporary fix for K64F with new mbed lib:
; 1. KSDK funtions changed (fixed)
; 2. Mbed uses a completely different mode for the PWM, which screws up my code. (Temp fix, don't call write directly after setting a new period, but wait 1 pwm period)


Should fix for LPC824

2016-03-14, by Sissors [Mon, 14 Mar 2016 20:41:49 +0000] rev 30

Should fix for LPC824


Added LPC81x/LPC82x support

2016-03-13, by Sissors [Sun, 13 Mar 2016 11:43:18 +0000] rev 29

Added LPC81x/LPC82x support


STM32F3, F4, L4, etc now use the channels number from the mbed library. The others still need to use the manual way.

2016-02-29, by Sissors [Mon, 29 Feb 2016 19:18:42 +0000] rev 28

STM32F3, F4, L4, etc now use the channels number from the mbed library. The others still need to use the manual way.


Added extra Nucleo/Disco targets (by https://developer.mbed.org/users/mimi3/)

2016-02-11, by Sissors [Thu, 11 Feb 2016 06:33:59 +0000] rev 27

Added extra Nucleo/Disco targets (by https://developer.mbed.org/users/mimi3/)