Posts Tagged ‘I2C’
raspi-config nonint do_i2c 1 hangs “forever”
While developing PiCockpit, and trying to allow the user to turn I2C off from the webinterface, I have run into crashes and problems. I am using raspi-config in non-interactive mode (I’ve written about this before) to control I2C from the PiCockpit client. While debugging the issue, I noted that – if something was busy accessing…
WeiterlesenEnabling 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