Combining multiple sensors into one sketch
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.
Fantastic. Thank you @niccodemi