Arduino Distance sensor as an input ?
Hello All !
I have got a HC-SR04 Ultrasonic sensor wired up with an arduino.
Using the NewPing Library code I can get a read-out value in the serial window of milliseconds or centimetres. But I cannot figure out how to use MilliuminStream to send this data to Milliumin.
I've attached a picture of my code. (I am sure that I have got all of the MilliuminStream code wrong, so sorry in advance !)