Skip to main content
6 events
when toggle format what by license comment
Jul 22, 2015 at 23:50 comment added Nick Gammon You don't need to test if(Wire.available() != 0) because the bytes variable has the number of bytes you received. If anything, test if bytes > 0 however I presume that a receive event would have at least one byte.
Jul 22, 2015 at 23:49 comment added Nick Gammon In both of your event handlers: Don't do serial prints inside an ISR. It may work until the serial buffer fills up, then it will hang.
Feb 4, 2015 at 17:56 comment added wajatimur On master you could scan the address range for connected device. This would be a proper approach.
Jun 27, 2014 at 6:23 history edited Wayne CC BY-SA 3.0
Made communication a 2-way exchange
Jun 26, 2014 at 23:33 review First posts
Jun 27, 2014 at 1:08
Jun 26, 2014 at 23:14 history answered Wayne CC BY-SA 3.0