Comments (5)
Right, I did not realize it's not RTOS, but a regular SDK (long day).
I believe I saw it before, but don't remember why I could not use it. I'll take another look at it again.
from multipwm.
That's interesting. Thank you for sharing.
What was the issue when you tried to implement the Espressif lib?
from multipwm.
You are welcome.
I didn’t find any issue actually. It is made for the Espressif SDK. I tried to collect and put on place each involved header and source files, but the compiler kept returning errors for undefined library files. I have just gave up.
The library for the memory management is different. Maybe it’s related also with other libraries. I couldn’t make it to the end. I am not on that level yet. 😉
from multipwm.
FYI. I am building esp-homekit with ESP8266 RTOS SDK, and their PWM causes clients to get disconnected. Wi-Fi is OK; just the esp-homekit clients get disconnected. Weird.
Their PWM library uses an undocumented timer called WDEV TSF0
interrupt; not FRC1
.
I am currently porting over this repo to use ESP8266 RTOS SDK hw_timer
library (which uses FRC1
) to see how it will work. Most of the functions of esp-open-rtos have a corresponding function in hw_timer
.
I need information on what the multipwm_set_freq()
function does...? Sets the CLK DIV
of the FRC1
timer... That's about it? The frc1.reload
will get set to false
when you start multipwm, and the frc1.count.data
will be overwritten after the first interrupt.
So how is PERIOD
of the PWM actually maintained? It must be part of the set_duty function and the time-slice calculations?
from multipwm.
I did not touch it for a long time, but I believe this is for a divider.
AFAIR, the "set_freq" was not really implemented properly as I had some issues with it and did not have enough time to pursue.
from multipwm.
Related Issues (2)
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 multipwm.