aboutsummaryrefslogtreecommitdiff
path: root/sysmon.py
diff options
context:
space:
mode:
authorBlaster4385 <venkatesh@tablaster.dev>2024-11-17 22:00:44 +0530
committerBlaster4385 <venkatesh@tablaster.dev>2024-12-01 22:34:13 +0530
commit4dedd94c34e28f0363fe6ebffe9ae95703f1b486 (patch)
treef86b0ae2567f4e6ff1e1671a2efef1ca26e3eeec /sysmon.py
parent4c9d3f9ffbbe0439c5505761431bee57f163e0cc (diff)
feat: increase baud rate and send intervalHEADmain
Diffstat (limited to 'sysmon.py')
-rw-r--r--sysmon.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysmon.py b/sysmon.py
index 0347d7c..54cd671 100644
--- a/sysmon.py
+++ b/sysmon.py
@@ -13,10 +13,10 @@ if platform.system() == "Windows":
# Constants
FILE_DESCRIPTOR = 'COM3' if platform.system() == 'Windows' else '/dev/ttyUSB0'
-BAUD_RATE = 9600
+BAUD_RATE = 115200
SERIAL_TIMEOUT = 1 # Timeout for serial operations in seconds
CONNECTION_WAIT = 6 # Time to wait for the serial connection to establish
-SEND_INTERVAL = 2 # Interval between sending data in seconds
+SEND_INTERVAL = 3 # Interval between sending data in seconds
# CPU temperature path for Linux
#CPU_TEMP_PATH = '/sys/devices/pci0000:00/0000:00:18.3/hwmon/hwmon4/temp1_input'