paul george
Member
Hello.
Am bit week in programming. Could anyone please give a sample code to create an array where i can store data of the positions returned from my servo.
The data which is stored in array must be used by the picaxe to control the servos when the specific command is given. Am using a picaxe 28x2 for contolling the servos in the legs. picaxe 18m2 is used for the hands. A bluetooth module is connected to 28x2 for contolling the humanoid and the 28x2 send data to 18m2 for the working of the hands.
I have hacked my servos to return position values and it works.
I want to use this data to make my humanoid robot to walk properly.
I have used 6 servos for its leg (3 each) and 8 servos for the hands(4 each). After reading some posts in the forum i have found out that the EEPROM or scratchpad memory can be used for this purpose, but am stuck with the coding part.
I just require some sort of a sample code or some guidance in this matter.
Thank you.
Am bit week in programming. Could anyone please give a sample code to create an array where i can store data of the positions returned from my servo.
The data which is stored in array must be used by the picaxe to control the servos when the specific command is given. Am using a picaxe 28x2 for contolling the servos in the legs. picaxe 18m2 is used for the hands. A bluetooth module is connected to 28x2 for contolling the humanoid and the 28x2 send data to 18m2 for the working of the hands.
I have hacked my servos to return position values and it works.
I want to use this data to make my humanoid robot to walk properly.
I have used 6 servos for its leg (3 each) and 8 servos for the hands(4 each). After reading some posts in the forum i have found out that the EEPROM or scratchpad memory can be used for this purpose, but am stuck with the coding part.
I just require some sort of a sample code or some guidance in this matter.
Thank you.
Last edited: