My main question is how can we use Grove sensors with the GoPiGo. If I understand correctly looking at the code, GoPiGo is accessed via I2C and one example is the ultrasonic sensor which according to the basic_obstacle_avoid.py example, it is connected on port A1 and as it is called in code with us_dist(15) and the command is . How do we access a digital sensor connected to D1, for example? (my case is a PIR sensor that I would like to connect to D1 port).
I know I can connect the PIR sensor directly to the Gpio pins and this is probably what I’ll do for now but I wanted some details in case I buy some Grove sensors - how do I access them, if they are analog or digital or something else.
Thanks for your time to read this and for your reply.