Pico: How to change the I2C timeout when using a i2c id scanner? #4576
Replies: 1 comment
-
Posted at 2018-01-12 by @gfwilliams I'm afraid not. It might make more sense to implement the I2C scanner purely in JavaScript - all you need to do is clock out maybe 10 bits per device? Just to add, software I2C ( Posted at 2018-01-12 by @MaBecker Wow - Now it is fast as expected!
Now a How to decide if this id is attached or not? Posted at 2018-01-12 by @MaBecker This was the change for the ESP8266: "i2c replace jsError() with jsExceptionHere() #868" Posted at 2018-01-15 by @gfwilliams Software I2C applies across all boards, including ESP8266 - so you should see the same behaviour there if using software I2C. It's odd, because there are definitely timeout checks in the I2c implementation |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2018-01-12 by @MaBecker
When testing this i2c scanner I figured out that there is a delay of 2sec before next scan.
A full scan over the 120 id will take about 240 seconds.
Is there a option to change this delay/timeout?
Beta Was this translation helpful? Give feedback.
All reactions