Comments (2)
To me it looks like a wake up is sent two lines after it is put to sleep. However, unlike in the sleep method there are no delay directly after sleep mode is set here. I suspect that the board needs some time to go to sleep before the frequency can be set and the board woken up again. If an Arduino Uno or similar an explicit delay might not be needed, but if a faster chip is used weird bugs might pop up. Try adding a delay after line 147 and see if it works better.
from adafruit-pwm-servo-driver-library.
Did you try it and it worked? If so, the delay should probably be added here too.
from adafruit-pwm-servo-driver-library.
Related Issues (20)
- Weird bug: need to explicitly pass in pointer to Wire HOT 7
- Argument to begin should not set external clock HOT 2
- Method for setting push pull/open drain mode HOT 3
- getPWM returns random numbers HOT 19
- passing I2C address when creating Adafruit_PWMServoDriver resets Arduino HOT 8
- ¿se puede evitar que salga esto en la verificación o subida de un codigo de arduino? => ATENCIÓN: .github Espúrias carpetas en librería 'Adafruit PWM Servo Driver Library' HOT 1
- prescale/frequency locked with Library reuse/wrapping of Adafruit 16-channel PWM/Servo HOT 6
- Change constructor arguments HOT 5
- controlling servo speed
- Wire Arduino with Adafruit pwm servo driver HOT 1
- _oscillator_freq not initialized? HOT 1
- Program may freeze if hardware fails. HOT 2
- writeMicroseconds(uint8_t num, uint16_t Microseconds) sends wrong number of PCA9685 ticks HOT 1
- Doesn't build HOT 4
- Servo timing is wrong in example for regular servo's like sg90.
- Convert to BusIO HOT 1
- Issue with constructor when a custom i2c bus is used.
- Adafruit_PWMServoDriver::setPWM returns 0 not endTransmission response HOT 4
- setPWM description is incomplete/misleading
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 adafruit-pwm-servo-driver-library.