Currently I am trying to sense distance then < 20cm code will print a command into the rasberry pi terminal(cmd) what is the command used to print a function into command prompt or is it even possible?
Hello MondazeBear,
As far as i know and what i found it is just the normal python commands to print in the CMD of your rasberry pi.
kind regards
you need to supply a bit more information.
Normally, the raspberry pi wold be communicated with through a serial port.