From b0bcba2e8ab5ccd26faf7f874a4a45a7afe3191c Mon Sep 17 00:00:00 2001

From: Mike Cifelli 1836280-mike-cifelli@users.noreply.gitlab.com

Date: Thu, 17 Jun 2021 10:14:56 -0400

Subject: [PATCH 1/1] Allow values to get lower again


system-status.py | 3 +++

1 file changed, 3 insertions(+)

diff --git a/system-status.py b/system-status.py

index be84a2e..888af93 100644

--- a/system-status.py

+++ b/system-status.py

@@ -13,6 +13,7 @@ TEMP_COLOR = [64, 0, 0]

CPU_COLOR = [0, 16, 32]

MAX_TEMP = 80

MIN_TEMP = 40

+BLACK = [0, 0, 0]

class SystemStatus:

@@ -51,6 +52,8 @@ class SystemStatus:

     for x in range(start, end):

         for y in range(value):

             self.hat.set_pixel(x, y, *color)

 def getTempValue(self):

     temp = psutil.sensors_temperatures()['cpu_thermal'][0].current

--

2.39.5

Proxy Information
Original URL
gemini://git.cifelli.xyz/system-status/main/patch/b0bcba2e8ab5ccd26faf7f874a4a45a7afe3191c.patch
Status Code
Success (20)
Meta
text/plain
Capsule Response Time
467.656951 milliseconds
Gemini-to-HTML Time
0.663937 milliseconds

This content has been proxied by September (ba2dc).