Posts Tagged ‘I2C port state’
Enabling and checking I2C on the Raspberry Pi using the command line for your own scripts
Most people know that you can enable the I2C port using raspi-config. raspi-config also offers a non-interactive mode, where you can drive it’s functionality using command line parameters to it. Reading the current state of the I2C port on the Raspberry Pi Here is how to read the current state of the I2C port: sudo…
Weiterlesen