Comments (2)
The lowest frequency value for tone using an esp32-c3 appears to be 153 (when simulated on Wokwi).
Note that if the frequency value changes before the duration value expires, the duration is reset.
Therefore, the buzzer will be on continuously until the tone value remains constant for longer than the duration value.
Example
from esp32-esp32s2-analogwrite.
Pushed an update that limits the minimum tone frequency to 153 when using the ESP32-C3.
from esp32-esp32s2-analogwrite.
Related Issues (20)
- [QUESTION] Usage for LED fading HOT 4
- Need to cycle power after an OTA update HOT 3
- If channel is already used analogWrite fails. HOT 1
- Dead Time? HOT 1
- Returned frequency is always 0. HOT 1
- Can't compil Example HOT 1
- Add tone() and note() functions HOT 1
- 'class Pwm' has no member named 'setServo' HOT 3
- Can't compile for ESP32 DEV Board HOT 4
- How to implement without library--const uint16_t phase[2] = {510,0}; HOT 1
- Connect several servo motors to an ESP32 (C3-M1)
- Jittery servo sweep with ESP32-C3 HOT 2
- Compiler errors for 4.3.0 to be fixed shortly ...
- Compiling Error HOT 2
- servo.write(pin, value) doesn't produce expected PWM output HOT 1
- using pwmWrite.h for controlling led and servo
- servo.write(float) missing
- Return value of analogWriteResolution HOT 1
- changing resolution causes a single very short pulse HOT 1
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 esp32-esp32s2-analogwrite.