1. Update your Pi and Install the required dependencies
<syntaxhighlight lang="Shell"pre>
sudo apt-get update
sudo apt-get -y upgrade
sudo pip3 install pi-ina219
sudo pip3 show pi-ina219
</syntaxhighlightpre>
2. Run the following command to check the oled i2c port