in reply to Re: I2C help (from python)
in thread I2C help (from python)
In C, the original was probably a macro: #define CLEAR_BIT(port, n) port.DEVICE_REG_DATA &= ~(0x1<<n)
Great observation! I withdraw my "stupidly complex" remark above.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: I2C help (from python)
by RonW (Parson) on Dec 01, 2015 at 05:01 UTC |