Stan,
Just downloaded your 2.1.1 release. Loaded into Arduino 1.6.7. Added Timer and SmartThings. When I verify, I get the following errors.
Any thoughts?
(Apologies as I just started with this stuff…but I am following your directions on git!)
And while I have your attention, your photos on the website show your jumpers between the Mega and ThingShield going from RX0 to 17 and TX1 to 16, but your source code comments says 2 to 14 and 3 to 15. Which one is correct? (I did bend pins 0 and 1 from the ThingShield as you recommended.)
Arduino: 1.6.7 (Mac OS X), Board: “Arduino/Genuino Uno”
AD2SmartThings_v3_0:56: error: ‘messageCallout’ was not declared in this scope
SmartThings smartthing(HW_SERIAL3, messageCallout); //constructor for hardware serial port with ST_Anything Library
^
/Users/MS/Downloads/AD2SmartThings-2.1.1/Arduino/AD2SmartThings_v3_0/AD2SmartThings_v3_0.ino: In function ‘void setup()’:
AD2SmartThings_v3_0:68: error: ‘Serial1’ was not declared in this scope
Serial1.begin(115200);
^
/Users/MS/Downloads/AD2SmartThings-2.1.1/Arduino/AD2SmartThings_v3_0/AD2SmartThings_v3_0.ino: In function ‘void loop()’:
AD2SmartThings_v3_0:90: error: ‘Serial1’ was not declared in this scope
if(Serial1.available() >0) {
^
/Users/MS/Downloads/AD2SmartThings-2.1.1/Arduino/AD2SmartThings_v3_0/AD2SmartThings_v3_0.ino: In function ‘void messageCallout(String)’:
AD2SmartThings_v3_0:169: error: ‘Serial1’ was not declared in this scope
Serial1.println(cmd); //send AD2Pi the command to pass on to Alarm Panel
^
AD2SmartThings_v3_0:175: error: ‘Serial1’ was not declared in this scope
Serial1.println(“C” + cmd); //send configuration command to AD2Pi
^
AD2SmartThings_v3_0:185: error: ‘Serial1’ was not declared in this scope
Serial1.write(1);
^
AD2SmartThings_v3_0:190: error: ‘Serial1’ was not declared in this scope
Serial1.write(2);
^
AD2SmartThings_v3_0:195: error: ‘Serial1’ was not declared in this scope
Serial1.write(3);
^
exit status 1
’messageCallout’ was not declared in this scope
This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.