Basics of Robotics
Author: ---------------------------------------------------
Hi just for those you have been working on different robotics project using Hitec servo motors and Microcontroller from parallax, this code might help you and your robot get going....This code is provided as byte stream for a BS2p basic stamp microcontroller..enjoy
'******************************************************************
' base bicep elbow wrist wristR gripper
PUT Limit, 0,150, 60,140, 0,150, 0,170, 0,180, 0,170
' Bse Bcpt elbw wrst wrstR grppr dly ctrlByte
Stream Loc 10, 100, 100, 70, 90, 150, 0, 101111,
10, 100, 100, 70, 90, 150, 20, 000001,
10, 90, 90, 60, 90, 150, 0, 101110,
10, 85, 90, 60, 90, 50, 0, 100010,
10, 100, 90, 70, 90, 50, 20, 101100,
60, 100, 100, 70, 90, 50, 10, 001111,
60, 100, 100, 60, 90, 50, 0, 001110,
60, 100, 100, 70, 90, 50, 0, 001111,
120, 100, 100, 70, 90, 50, 10, 101111,
120, 85, 90, 60, 90, 150, 10, 101110,
120, 85, 90, 60, 90, 150, 10, 101110,
10, 100, 100, 70, 90, 150, 0, 101111,
$FF 'END
#DEFINE debugMode = 0
ramp = $5
'******************************************************************