pimoroni / breakout-garden

Documentation, software, and examples for the Breakout Garden ecosystem.
https://shop.pimoroni.com/products/breakout-garden-hat
MIT License
72 stars 14 forks source link

Detect and enable i2c if missing #3

Closed Gadgetoid closed 6 years ago

Gadgetoid commented 6 years ago

Small fix to detect and attempt to enable i2c with raspi-config's "nonint" mode. Will fail and ask the user to enable manually if return code for raspi-config is !=0.