Datasheet
Running Stats on Boot
You can pretty easily make it so this handy program runs every time you boot your Pi.
The fastest/easiest way is to put it in /etc/rc.local
Run sudo nano /etc/rc.local and add the line
sudo python /home/pi/Adafruit_Python_SSD1306/examples/stats.py &
on its own line right before exit 0
Then save and exit. Reboot to verify that the screen comes up on boot!
© Adafruit Industries https://learn.adafruit.com/adafruit-pioled-128x32-mini-oled-for-raspberry-pi Page 8 of 15










