featherheart9
Member
I am workng on this project
https://www.instructables.com/id/Arduino-Wireless-Animatronic-Hand/
code : https://www.instructables.com/id/Arduino-Wireless-Animatronic-Hand/step6/CODE/
Although the code is there in this link .but i made a completly different code...beacuse using map was not giving precise results so i made mapping function for each flex seperatly.In this code(given in link above) if(Serial.available() >=5) is used...I am working on serial communication for the first time..so I am not able to understand how serial communication using zigbee occur.. Does it send data in string ?
I tried sending 5 numbers by using serial.available.."152 689 356 123 124"
then it printed 1 5 2 6 8. so i think data in string form is send...
here is my code (attached herewith)
I am not using default rx tx pin here....but using 0 and 1 as rx tx also give the same result...
Pleas help me out with what is wrong with this code..(random data is received by this code)
https://www.instructables.com/id/Arduino-Wireless-Animatronic-Hand/
code : https://www.instructables.com/id/Arduino-Wireless-Animatronic-Hand/step6/CODE/
Although the code is there in this link .but i made a completly different code...beacuse using map was not giving precise results so i made mapping function for each flex seperatly.In this code(given in link above) if(Serial.available() >=5) is used...I am working on serial communication for the first time..so I am not able to understand how serial communication using zigbee occur.. Does it send data in string ?
I tried sending 5 numbers by using serial.available.."152 689 356 123 124"
then it printed 1 5 2 6 8. so i think data in string form is send...
here is my code (attached herewith)
I am not using default rx tx pin here....but using 0 and 1 as rx tx also give the same result...
Pleas help me out with what is wrong with this code..(random data is received by this code)