puuu / USIWire

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

Add an onInterrupt callback. #14

Open jbaumann opened 4 years ago

jbaumann commented 4 years ago

Add an onInterrupt() callback to allow functionality at the beginning o…f the callback e.g., turning off a watchdog. This is especially important if the ATTiny communicates with a Raspberry Pi at unorthodox clock frequencies.