I want to code a maxbotix mb1200 sonar sensor to store the distance in a variable . I cant use the analogRead() function like i use to use with Arduino. I dont know how to do it using HAL .
I am a university student and I have to include in my final year project report the reason why I am using the Ardupilot version of Arduino IDE instead of the official one.
I want to include the primary reasons why I am developing the arduco