Skip to content

Conversation

@rkinnett
Copy link

@rkinnett rkinnett commented May 11, 2017

This isn't a full merge of the latest esp8266 core, just essential pieces to implement i2c time stretch. Tested with an Oak and three i2c devices (128x64 oled display, 16ch servo driver, and BNO055 inertial measurement unit). The time stretch component of i2c was required for the BNO device but was missing from the latest Oak core.

rkinnett added 4 commits May 11, 2017 02:20
Adds prototypes for setClockStretchLimit() and status() to TwoWire class.  Wraps final TwoWire wire declaration in preexistance conditional
Added definitions for TwoWire::status() and TwoWire::setClockStretchLimit(), wrap TwoWire declaration in preexistance check
Defines twi_setClockStretch() and updates time stretch calculations as multiplier;  defines twi_status().
Adds prototypes for twi_setClockStretchLimit() and twi_status(), adds I2C macros
@rkinnett rkinnett changed the title Pulled time stretch utility from ESP8266 Community Core Merged I2C time stretch utility from ESP8266 Community Core May 11, 2017
@rkinnett rkinnett changed the title Merged I2C time stretch utility from ESP8266 Community Core Merge I2C time stretch utility from ESP8266 Community Core May 11, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant