Program the basic atom pro using the basic micro studio which you can download at http://forums.basicmicro.net/news-f481/ ... t9478.html
hservo [p0\0] ; connect servo to p0, sets p0 to center position
serv var sword ;workspace, you can change serv to something else like banana
serin s_in, i9600, 400000, main, [sdec serv] ;serial input from the Botboard 2's DB9 port, connect using 9600 baud. serv must be the same as above
hservo [p0\serv] ;servo on p0 will be the same as what ever number you send over the serial port.
hservowait [p0] ;waits for the servo to move to it's position.
Servos have a set range limit, so don't go above those limits, so start small. try 400 and -400, 0 = center.
Don't go above 12000 or below -12000 without making sure your servos extend that far first.
Now then i'm not at home so i cant test it, but it's far to simple to have any problems. That code took me like 2-3 minutes to write and comment.
Though if you have any problems, let us know.
Then you can write a flowstone program that outputs the numbers you need, though i'd personally suggest you use Dev's macro programhttp://www.lynxmotion.com/p-785-free-do ... encer.aspx