You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Wire library always sets the first bit of the first data byte after an address. The example sketch below is copied directly out of the examples, with the only modification being the addresses and data sent.
(Possibly related?) After the STOP is sent, there is an extra negative pulse on the clock line.
The circuit:
The "Wemos D1 mini r2" is connected to an Adafruit CAP1188 board, and I have added pull up resistors. The board responds to reads with valid data, so I have verified the circuit is correct.
Pinout:
D1 => SCK
D2 => SDA
@TuxRobotics beware brzo, it is GPL, unlike our core. My understanding is that it's ok to use with our core only for personal use, and can't be distributed, because we rely on closed source prebuilt libs that aren't ours, and are therefore incompatible with any GPL.
About the issue, I'm rather surprised that nobody has seen it before. Is there any chance you could investigate our lib and try to find a fix?
Basic Infos
Platform
Settings in IDE
Problem Description
The Wire library always sets the first bit of the first data byte after an address. The example sketch below is copied directly out of the examples, with the only modification being the addresses and data sent.
(Possibly related?) After the STOP is sent, there is an extra negative pulse on the clock line.
The circuit:
The "Wemos D1 mini r2" is connected to an Adafruit CAP1188 board, and I have added pull up resistors. The board responds to reads with valid data, so I have verified the circuit is correct.
Pinout:
D1 => SCK
D2 => SDA
MCVE Sketch
Debug Messages
Runs normally, but first bit of the data byte is always set:
Modifying the code to write any other value for the first data byte results in the first bit always being set. A
A few more examples:
Produces:

Produces:

And here is a shot with the analog channels enabled to show the ramp rate looks good on each line:
Thanks!
The text was updated successfully, but these errors were encountered: