Hello everyone,
I am trying to have my code output serially 2 readings from 2 separate sensors.
They talk via I2C, so is it possible to implement the code for both sensors to be able to show their values continuously and together?
What would that look like? The loop part.
Thank you
is it possible to implement the code for both sensors to be able to show their values continuously and together?
Yes
What would that look like? The loop part.
start of loop()
read sensor 1
display sensor 1 value
read sensor 2
display sensor 2 value
end of loop()
Where are you stuck ?
Can you read one sensor and display the value ?