I have an Ultrasonic I2C module and am trying to use it with the AWS Core 2 device. It works fine on port a, but am trying to use port b or port c for the I2C commications. I am using the Arduino development environment and the code in place that works with port a is this:
SONIC_I2C sensor;
sensor.begin();
newvalue = sensor.getDistance(); //this is returned in mm
CoreS3.Lcd.printf("%.2f mm", newvalue);
I do not know how to do the same with the sensor plugged into Port B or Port C?
thanks for any assistance!