I just started using the BPIO2 flatbuffer interface and wrote an I2C module (For the Teensy CTF).
I didn’t seen an i2c scan example. So I looked at the code, and added to lines to the hello_world.py example:
# Show configuration with individual setters (less efficient but demonstrates API) print("Setting additional configurations...") i2c.set_mode_bitorder_msb() # I added these two lines Found=i2c.scan() print(Found)
And the scan prints out every I2C address. If I use the command line, it works. Am I using it wrong?


