Arduino Sensors

Hello,
For my project i need to read distance to an object. Can i use an arduino with attached ultrasonic sensors and read it with the xojo serial class?
Btw, is the raspberry lib for xojo compatible with arduino?

Thanks, Marco

Can i use an arduino with the xojo serial class?

Absolutely, the serial class does not care who/what is on the other side of the serial connection.

is the raspberry lib for xojo compatible with arduino?

Unlikely; unless the Arduino you are using uses the same processor as the rPI.

you can also use an esp8266 or esp32 instead of the arduino, they behave almost the same as an arduino, and have wifi embedded that xojo can read wirelessly using a tcpsocket class.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.