Combining multiple sensors into one sketch
stubtoe last edited by stubtoe
Had some success creating a few temperature and humidity sensors hooked up to my veralite via a serial gateway.
I now want to move on and build an outdoor weather station using multiple sensors connected to one Arduino board. The thing is I'm struggling to understand how I would go about combining the sensor sketches for the various different sensors into one single sketch (e.g. temperature, humidity, rain sensor, barometric pressure etc). I assume its not as simple as copy and pasting sketches together.
Can anyone point me in the direction of some resource that would explain how to go about combining the sketches in this way?
Any help or guidance much appreciated.
niccodemi last edited by
stubtoe last edited by
Fantastic. Thank you @niccodemi