I’ve been having some issues with the GrovePi in running multiple sensors in different programs simultaneously. By this I mean, I will have two or more terminals open, all running programs that use a single GrovePi. I have the following sensors temperature&humidity, light, sound, ultrasonic ranger, and a button.
I want to be able to run all of these sensors each in a different program, that way I can send the information over MQTT in different topics.
But when I try this I receive numbers that are not even close. I’ll have my temperature sensor running in one program and the button in another. My temperature might say 3000 degrees while the button program is running, but it’ll say 72F when it’s the only program.
So I need to know if this is possible to run the GrovePi like this, and if so, how?