hope this question is relevant to the community here:
I have installed Scratch GPIO where I hope to turn on LEDs using broadcast 'pinXon' or 'pinXoff' where the X is the GPIO pin to interact with. I also want a single button to take input into scratch, which I know can be achieved by looking at the 'sensor value' of the appropriate GPIO pin.
However, when I go to select a sensor value, my options are limited to:
- slider
- light
- sound
- resistance-A (through resistance-D)
- tilt
- distance
- motoracount
Strangely, when I open the included program 'blink11', I can select 'pin22' which doesn't appear in my own game.
Is it something to do with the fact I am not explicitly doing something akin to GPIO.cleanup() (in python) at the end of my scratch program? I am certain that 'pin7' was a sensor value option when I opened 'blink11' an hour or 2 ago, suggesting it wasn't cleaned-up after I used it and as such is not available again.