Search found 11 matches

by sgar
Tue Jun 15, 2021 8:16 am
Forum: ESP32 boards
Topic: More than one PWM frequency
Replies: 4
Views: 2669

Re: More than one PWM frequency

ihornehrutsa wrote:
Thu Jun 10, 2021 5:54 am
esp32/machine_pwm: handle multiple timers. #6276
https://github.com/micropython/micropython/pull/6276
Thanks!
by sgar
Thu May 27, 2021 9:07 am
Forum: ESP32 boards
Topic: More than one PWM frequency
Replies: 4
Views: 2669

Re: More than one PWM frequency

Unfortunately, yes, it's still a limitation for v1.15. I believe that overhauling PWM for the ESP32 is on the list for v1.16. It was better to introduce the CMake improvements (delivered in v1.15) first. Thanks for your prompt answer :) BTW, where I can find these information? I'm facing these ques...
by sgar
Tue May 25, 2021 1:31 pm
Forum: ESP32 boards
Topic: More than one PWM frequency
Replies: 4
Views: 2669

More than one PWM frequency

Hi! I read in other topics from 2019 that is not possible to use more than one frequency in ESP32 PWM. Is this limitation still true? In ESP32 quick reference example seems that use 2 frequencies. I tried by myself and last frequency configured in a pin is the global frequency for all pins... :cry: ...
by sgar
Mon May 24, 2021 3:39 pm
Forum: Programs, Libraries and Tools
Topic: TrickLED - NeoPixel WS2812B Animation Library
Replies: 15
Views: 36771

Re: TrickLED - NeoPixel WS2812B Animation Library

Any luck with this? Hi Sgar, YES that worked! I first downgraded to MP 1.14 and tried everything. I might have put all the files in the /lib sub_dir instead of giving trickLED its own sub-dir on the ESP32. Now the demo file runs without a hitch also on MP 1.15. Thanks a lot:) Nice! If you achieve t...
by sgar
Fri May 21, 2021 7:18 am
Forum: Programs, Libraries and Tools
Topic: TrickLED - NeoPixel WS2812B Animation Library
Replies: 15
Views: 36771

Re: TrickLED - NeoPixel WS2812B Animation Library

Primesty wrote:
Sun May 16, 2021 9:40 pm
Hi Sgar,

Thanks, I’ll give that a shot.
Any luck with this? :)
by sgar
Fri May 14, 2021 9:08 am
Forum: Programs, Libraries and Tools
Topic: TrickLED - NeoPixel WS2812B Animation Library
Replies: 15
Views: 36771

Re: TrickLED - NeoPixel WS2812B Animation Library

@sgar Do you mind posting your sample code or a link to a repo with the code you’re running? Are you using an ESP32? How did you install the trickLED lib? I tried installing the entire folder, but am still getting an error. No worries :) : I'm running the main.py demo from the library with the folo...
by sgar
Tue May 11, 2021 10:06 am
Forum: Programs, Libraries and Tools
Topic: TrickLED - NeoPixel WS2812B Animation Library
Replies: 15
Views: 36771

Re: TrickLED - NeoPixel WS2812B Animation Library

@artacus any chance to configure brightness in Fire animation and/or flip the direction of the animations? (Fire start from last led)

Thanks!
by sgar
Fri May 07, 2021 9:16 am
Forum: Programs, Libraries and Tools
Topic: TrickLED - NeoPixel WS2812B Animation Library
Replies: 15
Views: 36771

Re: TrickLED - NeoPixel WS2812B Animation Library

Awesome library! Congratulations!
I will try to use it in my project :D Thanks!!
by sgar
Mon May 03, 2021 2:27 pm
Forum: Programs, Libraries and Tools
Topic: Thonny: view variables and debugging
Replies: 4
Views: 6064

Re: Thonny: view variables and debugging

From the screenshot I see that you have stopped your program with Stop/Restart button. This button, besides interrupting the program, does soft reboot for MicroPython's VM. That's why you don't see the globals defined in your program. If you want to simply interrupt your program then use Ctrl+C It ...
by sgar
Sat May 01, 2021 10:50 pm
Forum: Programs, Libraries and Tools
Topic: Thonny: view variables and debugging
Replies: 4
Views: 6064

Re: Thonny: view variables and debugging

Debugging isn't supported, because MicroPython lacks some required featured for this. Regarding variables table -- it is supposed to show all global variables which don't start with an underscore. Can you bring a specific example, where some variables are present in globals() but not shown in the t...