RuntimeError: Harap atur mode penomoran pin menggunakan gpio.setMode (gpio.board) atau gpio.setMode (gpio.bcm)

For me, the problem was that I was calling GPIO.cleanup()
Flyhouse_Squarewheel