add in defines and test code in the ino