This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Service for autostarting FanController | |
After=multi-user.target | |
[Service] | |
Type=idle | |
ExecStart=/usr/bin/python3 /home/royalgraphx/FanController.py | |
[Install] | |
WantedBy=multi-user.target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import time | |
import subprocess | |
import RPi.GPIO as GPIO | |
from board import SCL, SDA | |
import busio | |
import adafruit_ssd1306 | |
from PIL import Image, ImageDraw, ImageFont | |
import netifaces as ni | |
# GPIO pinout |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<plist version="1.0"> | |
<dict> | |
<key>DeviceProperties</key> | |
<dict> | |
<key>Add</key> | |
<dict> | |
<key>PciRoot(0x1)/Pci(0x1,0x4)/Pci(0x0,0x0)</key> | |
<dict> | |
<key>model</key> | |
<string>GeForce GTX 470</string> |