implementing multiple sensors
Development
83
Posts
28
Posters
86.9k
Views
15
Watching
-
CHILD_ID_LIGHT and CHILD_ID_UV are defined as two different nonzero numbers, right?
Sorry I cannot read your sketch here in China!!
@BulldogLowell no, they were both defined as 0. I changed them to 1 and 2 and now three devices show up. Thanks.
-
Good. You may be able to use zero but certainly not for both!
-
I think my biggest challenge is understanding when to combine the additional sensor in the main loop or when to put it in another. The whole idea of interrupts is baffling to me too.