When the a button is pressed the picars script shows it has received something and will set the GPIO pin. Also notice in Scratch in the window with the Cat the variable is showing as 1 as it has been set.
When the a button is pressed the picars script shows it has received something and will set the GPIO pin. Also notice in Scratch in the window with the Cat the variable is showing as 1 as it has been set.