I am making a animatronic hand that is powered by two Arduinos connected via XBee radio's. I am very new to coding and this is my first attempt. I was wondering if you guys could help me a little as as of now I don't know if it works as I don't have the Ardunios and I would like to try to get the code perfect before the build as that is going to be a difficult job! Could you guys help clean up this code a bit as well? Thanks in advance!
Here is the hands code:
Here is the glove code:
Thanks very much!