void exitPWM(void)
{
// Make SMBus request to force SMBus output instead of PWM
SoftWire::setSclLow(&i2c);
delay(3); // Must be > 1.44ms
SoftWire::setSclHigh(&i2c);
delay(2);
}
should be:
void exitPWM(void)
{
// Make SMBus request to force SMBus output instead of PWM
SoftWire::sclLow(&i2c);
delay(3); // Must be > 1.44ms
SoftWire::sclHigh(&i2c);
delay(2);
}
Hi this:
should be: