Multi sensor how to change basic script
-
Hi there
can i make a multi arduno with 2 sensors? To monitor my power and water usage
the example @ the website is for 1 if i put the other sensor on other pin and copy script and change the pin number and put the 2 script after ichother wil that work?Greetz
BigDog
-
It is possible, but you have to 'merge' the code from two scripts. Only one 'void setup()' , only one 'void loop()' , etc.
Use multiple gw.present( x , y ) where x = sensor number and Y = sensor type.
You are only limited by the memory available in arduino, and number if IO pins
-