PWM Slider icon PWM Slider Slider to set EZ-B digital PWM for motor speed or LED brightness; shows duty-cycle, stop button, and board/port selection. Try it →
Canada
YouTube
Asked — Edited

Talk Servo And Numerals

I have been developing a script that generates a series of numerals and I've noticed that the Talk servo Control does not move when it receives a numeral in the Say command. For example:


Sayezb(" two hundred and fourty eight") # the servo moves and the audio plays

Sayezb("248") #the servo does not move but the audio plays

Is there any way to get the Talk servo to move when it is fed numerals?


ARC Pro

Upgrade to ARC Pro

ARC Pro is your gateway to a community of like-minded robot enthusiasts and professionals, all united by a passion for advanced robot programming.

#9  

Yes, I noticed that. Guess I shoulda waited a couple more days before jumping in. :D Ah well, wasn't much work on my part at least. Only about an hour or so. Better this way and it probably handles much larger numbers. Perhaps decimal fractions as well?