Hello,
I am building a Garmin App for running and I would like to execute specific code for devices with BAROMETRIC ALTIMETER. Is there a way to test in my code if the current running device has this sensor ?
In the simulator the following code returns a value for the f245 but it should not have a barometric sensor.
var status = Sensor.getInfo();
System.println("pressure: "+ status.pressure);
// output: pressure: 61312.875000