stevesmythe
Senior Member
I'm pretty sure that the "read ultrasonic" block in Blockly for Picaxe doesn't work on a 28X2 processor. The code below works fine on an 08M2 but doesn't work on my AXE401 with a 28X2 fitted (the value of VarA is shown in debug as 33792 regardless of the position of the SRF005).
The same SRF005, with the same connections, does work properly on the AXE401/28X2 when programmed directly with Picaxe BASIC.
The same SRF005, with the same connections, does work properly on the AXE401/28X2 when programmed directly with Picaxe BASIC.