You're confusing it by calling it GPIO.
try naming it something else, like gpio in lowercase
Then replace all the other upper case GPIO to gpio in the rest of the code to match.
try naming it something else, like gpio in lowercase
Code:
import RPI.GPIO as gpioStatistics: Posted by memjr — Mon Feb 26, 2024 5:18 am