puuu / USIWire

USI based TWI/I2C library for Arduino
GNU Lesser General Public License v3.0
58 stars 18 forks source link

support ATtiny84A, support C++ projects, added include guards #10

Closed Tekl7 closed 4 years ago

Tekl7 commented 5 years ago

I have just added support for ATtiny84A MCU.

puuu commented 5 years ago

Thank you for your contribution! Looks good, did you run the master and slave tests from the example folder?

For my interest: Which framework do you use with this library?

Tekl7 commented 4 years ago

I have tested only the USI_TWI libraries, not USIWire. I'm not using any framework with this library (want to save some memory).

Tekl7 commented 4 years ago

You can look at my fork of AVR SSD1306 Library where I used your library: https://github.com/Tekl7/AVR-SSD1306-Library

puuu commented 4 years ago

Thanks! Finally I've merged most of your changes.

I have not merged the C++ changes. IMHO these are C files, you must include them in a C++ within extern "C".