Make dure
you’re
in the same directory as the file, test run the file using:
python3 stats.py
User <CTRL>+c to terminate the program.
Running the stats file on start-up
Now you
’
ve tested the OLED and its displaying stats info, to get the file to load automatically at
every re-boot, we need to open the crontab:
crontab -e
Select 1 as the editor and hit enter. Go to the end of the file and add the text:
@reboot python3 /home/pi/stats.py &
DON’T
FORGET THE & at the end!!!
Save and exit. Reboot to verify that the screen comes up on boot!
SD Card
Front Panel Access
For access to your pi’s SD card (after your pi is installed), the front panel
is removable. It is held
into place by a bracket that is fitted to the top bolts of the fan on the inside of the case. To
remove the front cover:
1.
Make sure power is removed and all cables to your pi are unplugged.
2.
Remove both Perspex side panels.
3.
Undo to the top bolts holding the fixing bracket
–
recommend holding the nut with
plyers and using a Phillips screwdriver from the font of the panel. Leave the lower bolts
in place.
Watch you don’t misplace those nuts.
4.
Remove the bracket (noting the direction of the bracket) and slide out the top bolts
–
the front cover should come away freely from the case.
5.
Reverse the steps to replace the front panel.
Please do not force the front panel or put too much pressure on the case when handling.