One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
#!/bin/bash | |
# 2022-01-01 Charles Godwin | |
# Derived from https://www.waveshare.com/wiki/PoE_HAT_(B) | |
# enable i2c interface if necessary | |
# Read the following for details | |
# https://gist.github.com/CharlesGodwin/adda3532c070f6f6c735927a5d6e8555#file-waveshare-poe-hat-md | |
# | |
IS_I2C=`sudo raspi-config nonint get_i2c` | |
[ $IS_I2C -ne 0 ]&&sudo raspi-config nonint do_i2c 0 | |
# install required packages |