Don't change "i2c_master_getDD" it's read the scl line.
and "i2c_master_getDC" read the sda line.
Try the Attachment and see if it compiles ok.
© Espruino, powered by microcosm.
Report a problem