Comments (7)
Hi @LaurentR59
The current 16-channel limitation is artificial and arbitrary decided to avoid overloading the board. I'll create a new version for this feature.
Anyway, I'll make it configurable in users' code, and will be max 48. But I think for slow PWM (low PWM frequency), the max number of channels can be very large.
Is that value 48 reasonably large enough ?
You can also use many Timers, if available, by adding the Timers and similar code for 1 Timer.
other is to get capacity or possibility to move millis() on a TIMER A type? (not sure it would be well managed by dx core or megacorex and megatinycore?)
With DxCore, you can move millis() to other Timers, such as TCA, TCD
from dx_slow_pwm.
from dx_slow_pwm.
OK, hear you, I'll set max number of channels to 64 and configurable in your code.
Will modify those slow PWM-related libraries similar way. The next release will be out within today.
Please test then, with max 64 channels, if possible.
from dx_slow_pwm.
Hi @LaurentR59
The new Dx_Slow_PWM releases v1.0.1 has just been published. Your contribution is noted in Contributions and Thanks
Looking forward to receiving more contributions from you.
Best Regards,
Release v1.0.1
- Make
MAX_NUMBER_CHANNELS
configurable to max 64 PWM channels - Remove debug codes possibly causing hang
- Improve debug to use
Serialx
port automatically according to boards
from dx_slow_pwm.
from dx_slow_pwm.
You now just declare in your code (any number up to 64). Will be trimmed to 64 if bigger than 64.
from dx_slow_pwm.
from dx_slow_pwm.
Related Issues (4)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dx_slow_pwm.