From 015b5515bf6c3a2b44057322ba4d9a2033eedbc7 Mon Sep 17 00:00:00 2001 From: ertagh <56492986+ertagh@users.noreply.github.com> Date: Wed, 23 Sep 2020 15:01:27 +0200 Subject: [PATCH] RPi 4 Update Added the CPU of the RPi 4 --- Python_DHT/platform_detect.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Python_DHT/platform_detect.py b/Python_DHT/platform_detect.py index d06137d..ef74ea6 100644 --- a/Python_DHT/platform_detect.py +++ b/Python_DHT/platform_detect.py @@ -96,7 +96,7 @@ def pi_version(): if match.group(1) == 'BCM2708': # Pi 1 return 1 - elif match.group(1) == 'BCM2709' or match.group(1) == 'BCM2835': + elif match.group(1) == 'BCM2709' or match.group(1) == 'BCM2835 or match.group(1) == 'BCM2711': # Pi 2 or Pi 3 return 2 else: