Closed dHutchings closed 7 years ago
I'd just like to follow up.
I was able to work around my issues by using your soft-slow libraries. Thank you for making these libraries! They were a great help.
Hi Doug,
the error messages say that you haven’t declared SCL_PORT, SDA_PORT, SCL_PIN, and SDA_PIN. As described in the the playground, you need to declare these constants before importing the library.
/root/Arduino/libraries/SoftI2CMaster-master/SoftI2CMaster.h:185:31: error: 'SCL_PORT' was not declared in this scope
define SCL_IN (_SFR_IO_ADDR(SCL_PORT) - 2)
^
the Atmega 32u4 is used on Arduino Leonardo & Micros. I believe it is an AVR chip, which this library supports.