-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
PWM, Modes, and channels issue #8108
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Labels
Comments
PWM has been changed to support different frequencies. Try the latest daily build. |
Awesome ! , using latest nightly solved it. |
@kthod861 please close the issue if all right |
tannewt
added a commit
to tannewt/circuitpython
that referenced
this issue
Dec 6, 2023
This changes storage.mount() to require that a mount point exist on the parent file system. A bug in background tasks is also fixed where the function parameter is cleared on pending callbacks during "reset". Disk usage is shown on the directory listing and changes based on the mounted file system. Writable is also loaded per-directory. Fixes micropython#8108. Fixes micropython#8690. Fixes micropython#8107.
tannewt
added a commit
to tannewt/circuitpython
that referenced
this issue
Dec 6, 2023
This changes storage.mount() to require that a mount point exist on the parent file system. A bug in background tasks is also fixed where the function parameter is cleared on pending callbacks during "reset". Disk usage is shown on the directory listing and changes based on the mounted file system. Writable is also loaded per-directory. Fixes micropython#8108. Fixes micropython#8690. Fixes micropython#8107.
tannewt
added a commit
to tannewt/circuitpython
that referenced
this issue
Jan 16, 2024
This changes storage.mount() to require that a mount point exist on the parent file system. A bug in background tasks is also fixed where the function parameter is cleared on pending callbacks during "reset". Disk usage is shown on the directory listing and changes based on the mounted file system. Writable is also loaded per-directory. Fixes micropython#8108. Fixes micropython#8690. Fixes micropython#8107.
tannewt
added a commit
to tannewt/circuitpython
that referenced
this issue
Jan 18, 2024
This changes storage.mount() to require that a mount point exist on the parent file system. A bug in background tasks is also fixed where the function parameter is cleared on pending callbacks during "reset". Disk usage is shown on the directory listing and changes based on the mounted file system. Writable is also loaded per-directory. Fixes micropython#8108. Fixes micropython#8690. Fixes micropython#8107.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
While trying to get the same behavior as "ledc"+"ledcWriteTone" using micropython, i ended up stuck with no solution to get the 8 PWM output with different frequencies .
Goal: get 8 frequencies outputs (fixed duty) that can be modified using python as the ESP32 is able to provide this ( tested using ledc on a bare new ESP32 board).
But i probably have missed something here.
For example, using "esp32-20210902-v1.17.bin", and by default testing the example provided here is a fail:
i say fail as the output of it i absolutly not :
PWM(Pin(15), freq=100, duty=64, resolution=10, mode=0, channel=0, timer=0)
but rather:
PWM(Pin(15), freq=100, duty=64 )
Did also a ton of test by myself without understanding the logic behind mode and channel selection when creating a PWM object.
It sounds like it dynamically choose timers depending on init frequency but i'm really not sure about that.
Any help is welcome
The text was updated successfully, but these errors were encountered: