I have finished building Bittle and gotten him to move with the remote. I am wondering how to connect 3rd party sensors with the Arduino IDE? https://docs.petoi.com/arduino-ide/upload-sketch-for-nyboard
For example I have a HC-SR04, how can I use it? Similar to https://docs.petoi.com/extensible-modules/ultrasonic-sensor
Hi, you will need to wire the sensor using jumper wires and connect it to one of the digital Grove pins with pin number 6,7 or 8,9.
Here's the test code for the regular ultrasonic sensor.
https://github.com/PetoiCamp/OpenCat/blob/main/ModuleTests/testUltrasonic/testUltrasonic.ino