You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The ESP8266 fast shift register is awesome, so i wanted to try out this library as well..
It behaves "strange" and i cant figure out why.
I created a simple routine
uint8_t i = 0;
void loop() {
if (runEvery(200)) { // runs 200 millis without delay
shiftRegister.set(0, i);
Serial.println (i);
i = ((i+1) % 254);
}
shiftRegister.Run();
}
So what i realized..
At the the beginnging pin at 0 value doesnt turn off.
If the cycle reaches the maximum then 0 the pin turns off and at value around 80 turn on.
at the second cycle 0 turns off, around 176 turns on.
that the third cycle keeps off, and
fourth cycle 0 value turns on till it reaches the the fifth cycles.. and its going over and over.
Of course the pwm is not working, two modes are, full on full off.
The text was updated successfully, but these errors were encountered:
The ESP8266 fast shift register is awesome, so i wanted to try out this library as well..
It behaves "strange" and i cant figure out why.
I created a simple routine
uint8_t i = 0;
void loop() {
if (runEvery(200)) { // runs 200 millis without delay
shiftRegister.set(0, i);
Serial.println (i);
i = ((i+1) % 254);
}
shiftRegister.Run();
}
So what i realized..
At the the beginnging pin at 0 value doesnt turn off.
If the cycle reaches the maximum then 0 the pin turns off and at value around 80 turn on.
at the second cycle 0 turns off, around 176 turns on.
that the third cycle keeps off, and
fourth cycle 0 value turns on till it reaches the the fifth cycles.. and its going over and over.
Of course the pwm is not working, two modes are, full on full off.
The text was updated successfully, but these errors were encountered: