Open trombik opened 7 years ago
Hi, thank you for testing USIWire.
Unfortunately, I can confirm that the test not always run successfully. Tuning of the delay()
may help. The current delay()
values were tested with a ATTiny85 at 8 MHz. With these I can run at least 8 test in a row without any failure.
What clock you are using?
I think it is 8 Mhz. but will double-check.
it is very helpful for a library to have tests (most of them do not), but it would be nicer if the test configuration was documented, such as the chips used as master and slave in the test, wiring, breadboard or not, etc.
hi,
I am trying the provided tests but failed to reproduce reliable test results.
the setup:
without modification to the example code, the test keeps failing. I guessed failures were caused by timing, and inserted some
delay()
. after trials and errors, sometimes, the test passes, but not always. do you see anything I am missing?AUX_Callback
test fails in most cases, but now always. here is the diff, failed result, and successful one.