Ireland
Asked — Edited

Ez Script

A little help with Ez Script Please

I am using four ADC inputs to ezb to control two servo motors. see sample Ez Script

only one adc will have a low value at any given time all others will be high. a low on any adc input should give a specific value to the two servo motors.

Using repeat this scans the adc inputs ,but I need to address the second servo also if(adc(adc0) < 100) servod(do, 20) if(adc(adc1) < 100 servo(d0, 30) if(adc(adc2) < 100 servo(d1, 25) if(adc(adc3) <100 servo(d1, 35)

Appreciate any assistance you could give

Pat


ARC Pro

Upgrade to ARC Pro

ARC Pro is your passport to a world of endless possibilities in robot programming, waiting for you to explore.

#9  

GREAT looking bot!!! Would love to see him in action. How about a video?

PRO
Synthiam
#10  

HOOOOOOOOOLY!!! That IS a fantastic bot!!

Man, i really better step it up a notch... you are all showing me up! or down, which ever way it works hahaha

Ireland
#11  

ye its ongoing Exhibited a number of times at national "Young Scientist Exhibition" fantastic response. one of its features is it is touch sensitive . eg tickle its neck and you get a hilarious laugh ,kids loved this

With 16 servos controlling its movements its some fun to programme. Now with EZB,I wonder will it always be a work in progress.Maybe if you ( DJ ) took a holiday ,and decided no more new features for Ezb that may help me !!!. As mentioned previously seriously thinking of adding Brain control ,through the EZB of course . Let the cloning from human to Robot begin.

Pat

PRO
Synthiam
#12  

Haha, well just wait Pat... I have a new release with some neat features that you're going to become addicted too. I already know!:)