aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sysmon.ino2
-rw-r--r--sysmon.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/sysmon.ino b/sysmon.ino
index 34b9499..1a6080d 100644
--- a/sysmon.ino
+++ b/sysmon.ino
@@ -20,7 +20,7 @@ static uint32_t rtcTime = 0;
static uint32_t displayTime = 0;
void setup() {
- Serial.begin(9600);
+ Serial.begin(115200);
initHardware();
gfx1_layout();
}
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'