Go Down

Topic: Need HELP about setting two modes in arduino (Read 51 times) previous topic - next topic

neyzen

I am trying to make a system which shows the altimeter, temperature and air pressure. I have all the necessary components but I cannot measure altitude and air pressure at the same time because in the void setup() section I need to change the "myPressure.setModeAltimeter();" code with "myPressure.setModeBarometer();" . I want to combine the two mode in one so that I can show all the results on the lcd without compiling again. Thanks for your help in advance. :)

aarg

Are you using your own code, or somebody else's code?


Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy