Once again, we will find a sprite that has some scripts attached to it and modify the control to work with the alligator clips on the PicoBoard:
When we touched the ends of the alligator clip, we completed a circuit and our sprite reacted by jumping or moving across the stage. Like the button, these sensors reported a true or false value. When the clips at the end of one of the wires were touched, the value was true.
When we touch the alligator clips together, we basically replicate a switch, like the one that turns the light on and off in our room. When we turn on a switch, we complete a circuit.
If we had a real switch, we could connect a clip to each connector and then use the switch to toggle the project on and off.
You can only create a circuit using the alligator clips attached to a single sensor. In other words, connecting the clips on sensor A to sensor B will not create a circuit, and the values for sensors A and B will remain false.
The alligator clips also measure the electrical resistance of the circuit on a scale of 0 to 100. We can use any material capable of carrying an electrical current to connect the alligator clips. Example materials might be foil, fingernail clippers, or other metals.
3.147.126.211