Pixl.js SDA and SCL seems to be pointing to the wrong pins #3407
Unanswered
espruino-discuss
asked this question in
Puck.js, Pixl.js, Jolt.js and MDBT42
Replies: 1 comment
-
Posted at 2020-07-21 by @gfwilliams Hi - thanks for letting me know! Just fixed it - it'll be in the cutting edge builds, or 2v07 when released. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2020-07-20 by parasquid
I was trying out the i2cdetect script by @MaBecker by using:
I2C1.setup({sda: SDA, scl: SCL})
and I was wondering why none of my I2C devices were being detected when I used the very same Pixl.js to develop the INA219 module.Then I copied the example code I used for that module which had this setup:
I2C1.setup({ sda: A4, scl: A5 });
I thought the
SCL
andSDA
constants were pointing to the wrong pins, and it looks like they are:D4
andD5
on the Pixl.js are digital pins.Beta Was this translation helpful? Give feedback.
All reactions