![]() I’m currently working on a ‘before/after’ post to demonstrate that the new timeout feature actually works with real hardware scenarios. Note that you have to explicitly add a timeout value (1000 in my example above) or the timeout feature will still not be enabled! The ‘true’ parameter tells the library to reset the I2C bus if a timeout is detected – surely something you will want to do. setWireTimeout ( 1000, true ) //timeout value in uSec - SBWire uses 100 uSec, so 1000 should be OK
0 Comments
Leave a Reply. |