I know this that Im very bad in coding ![]()
I have added this:
void loop()
{
Â
 if (encoder[1].count = 1)
  {
  digitalWrite(LEDPin, HIGH);
  }
 if (encoder[1].count = 0)
  {
  digitalWrite(LEDPin, LOW);
  }
 if (updateEncoders()) printEncoders();
}
But LED is only turn on after start program. Changing values by encoder to 0,1,0,1 nothing change in LED status.
encoder.zip (1.83 KB)