Distance sensor - Microbit Purpose: This program measures 1 inch of from distance sensor and is not entirely accurate and when it is 2 cm 5 cm or 10 cm it preforms a Pokemon move. Materials needed: This project uses the BBC Microbit, Microbit Programming interface,Breadboard,Breadboard connector + Pin setup,5 VT battery,Connection wires, and the Microbit distance sensor. Procedure: Set up the circuit, Write the code, Download to Microbit,Run.` Circuit: ` THE BLACK WIRE IS CONNECTED TO A 5 V BATTERY Code Snippet: --------------------- Java code snippet The code is in JavaScript Microbit Code let Distance4 = 0 let Distance3 = 0 let Distance2 = 0 let Distance = 0 let echoTime = 0 basic.forever(() => { echoTime = 0 // echoTime = sonar.ping( DigitalPin.P0, // DigitalPin.P1, PingUnit.Centimeters ) send pulse pins.digitalWritePin(DigitalPin.P0, 0) c...