Comments (2)
Thanks for reporting your observations.
I haven't tested servos with actual ESP32-C3 hardware, but I have a few examples in Wokwi using 6 servos that don't reveal this behavior. The attach() function only attaches to a pin once, then it just returns the attached channel number.
ESP32_C3_6_Servo_Knob.ino
ESP32_C3_6_Servo_Sweep.ino
Do you have an example I could take a look at?
EDIT: I see you've created some amazing drone designs ... very inspiring!
I'll setup some real hardware for testing and see what I can find.
from esp32-esp32s2-analogwrite.
I've completed a new Wokwi scope chip which showed the jitter and helped with resolving the issue. An update to the library (4.2.5) will be published shortly.
Thanks for your feedback!
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)
- Compiler errors for 4.3.0 to be fixed shortly ...
- Tone interval to a non-zero value makes buzzer never go off HOT 2
- 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.