Hi everyone,
I was wandering if there is a way to execute commands while waiting for a sensor to respond.
Specifically, it is about temperature sensors MAX31856 which I am using with Adafruit_MAX31856.h
library and XXX.readThermocoupleTemperature();
command. I takes 250ms for each sensor to respond (I assume because of the in-sensor temperature compensation or fault detection) which means that (with 4 sensors) for one second I can do nothing else. I am Serial.print
ing the Temperature values to a processing GUI and would like to read & print some analog channels while waiting for the answers from the temperature sensors.
I tried to google the answer myself but didn't make progress neither with time interrupts nor with multitasking like FreeRTOS