Skip to content

v1.2.0

Compare
Choose a tag to compare
@Fattoresaimon Fattoresaimon released this 25 Mar 15:07
· 34 commits to master since this release

Changelog:

  • Parameter INT2 is changed to INT_2. Conflict with the board Arduino Mega

  • All the enum are moved inside of the i2cEncoderLibV2 class. In this way there are no conflicts with other classes with same parameter.
    Example of change:
    Before:

    Encoder.begin(INT_DATA |WRAP_DISABLE | DIRE_LEFT | IPUP_ENABLE | RMOD_X1 | RGB_ENCODER);

    Now:

    Encoder.begin(
      i2cEncoderLibV2::INT_DATA | i2cEncoderLibV2::WRAP_DISABLE
      | i2cEncoderLibV2::DIRE_LEFT | i2cEncoderLibV2::IPUP_ENABLE
      | i2cEncoderLibV2::RMOD_X1 | i2cEncoderLibV2::RGB_ENCODER);