Color Detectionsystem Sends Input to Raspberrypi pico

October 2, 2024, 07:17

matze15

Hi, I have programmed a python script on my computer and a cricuitpython script on my raspberry pi pico. The computer sends a signal to my raspberry pi as soon as it detects a certain color. The pico receives the input correctly and lights up the standard LED. But the mouse click does not work. Any ideas what I have done wrong? I will upload the code as an image. Hope someone could help me. Thank you

e_xie

send code like this:
hello

e_xie

using backticks

matze15

hey the code finally worked. I still dont know why but it does after remove the inner else if and put the led off state to the first if it started to work.

e_xie

good to hear