Open NoeelMoeskops opened 2 years ago
Sounds good. I don't know if you noticed, but I do have a C++ GDB launch config added if you are using VScode. If you look in .vscode > launch.json
you'll see an args
array. You can just fill that out with your "options". Once filled out you can start a debugging session by pressing F5
"args": ["i2c", "-x", "w"]
During testing of my branch I noticed that when there is no slave connected to the FT2232H and when checking for an ACK with
(GetAck(mpsse) == ACK)
returns true even when no I²C device is attached. This will require some further investigation. It did work before though (before the C++ part, and I did not alter the write/read code). So not sure why it suddenly stopped working.