Correct me if i am wrong but I was assuming that the I2C.find command is similar to i2cdetect and should return a list of I2C compatible devices/addresses on the I2C bus.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
I am trying to get i2c to work on my ESP8266, but don't have much luck.
I must be missing something.
Maybe someone here can help me.
I tried
I put 10k pull-ups on both GPIO12 and GPIO14
Correct me if i am wrong but I was assuming that the I2C.find command is similar to i2cdetect and should return a list of I2C compatible devices/addresses on the I2C bus.
If I specify a bitrate, like
my ESP8266 will crash/reset.
When I try to read from an valid device address (checked with my Raspberry pi) I get
But the returned data is invalid and a similar result is returned when reading from an invalid device address (just with different data).
I am running this version of the firmware :
s3.voneicken.com/espruino/espruinĀo_1v85.tve_master_66fde09_esp8266.tgz
@MaBe tested this build to have working support for I2C as mentioned in the
Latest Espruino build for Esp8266 topic.
I am trying to communicate with an rrd-102v2.0 (FM radio (RDA5807)).