This string thing that you're mentioning seems like it is some IOIO Inventor specific feature. You'd probably have to ask the developer for more details. From a IOIO API standpoint, the motor control API (Sequencer) is the right way to do what you're after.
On Sat, Jun 13, 2015 at 7:45 PM, tom mazurek <[email protected]> wrote: > IOIO Inventor is a "companion product" for MIT's APP Inventor 2 open > source development platform....sold in the Google Play Store for $1 or $2. > I actually thought you wrote it !....now I see it is developed and sold by > INEX. Anyway, it provides the API building blocks to write an Android App > using App Inventor2... and control basic functionality of the > IOIO-OTG....with your cellphone. > > Instead of using the motor control library, with dual H-Bridge circuits, I > am using " Sound, Pin#,Freq,Duration" Outputs to the new CNC Stepper Motor > Drivers based on the Toshiba 6600 chip (about $15 on Ebay.... This frees up > processing power on the IOIO and Android for other things. This all works > pretty well !! > > Question......is there any way to get more info on what string data the > IOIO is looking for? Specifically is there any way to Ramp-up and Ramp-Down > Frequencies (Sound Pins) on the IOIO for smoother operation of the Steppers? > > > > On Sat, Jun 13, 2015 at 6:43 PM, Ytai Ben-Tsvi <[email protected]> wrote: > >> How does IOIO Inventor work? Does it have APIs for the motor control >> libraries? Is it specifically designed for interacting with AppInventor? >> >> On Fri, Jun 12, 2015 at 5:50 AM, <[email protected]> wrote: >> >>> Hi all, I am new to this discussion , but saw the post thought I could >>> contribute my findings. I have been using MIT App Inventor2 with IOIO-OTG >>> for about 3 months with pretty good results. I also am old school but have >>> done plenty of control programming using Basic, C++ and others, I >>> also did not want to learn yet another language. I am building a stepper >>> motor controlled robot with off the shelf parts. >>> >>> He is still an infant, but I have him moving well with speed control, >>> turning, reversing, and even running a pre-programmed pattern over >>> Bluetooth from my Android to the on-board IOIO-otg. >>> >>> I am using a windows 7 development PC, logged into MIT AI2. On the >>> Android I have loaded MIT AI2 companion app, IOIO Inventor, and of course >>> G-Mail for downloading and installing my latest App revisions. Since the >>> AI2 commands are limited to basic I/O, a big breakthrough for me was using >>> the "Sound" command to drive the Stepper controllers speed... along with 2 >>> digital Outputs 's ...1 to set direction, and 1 Enable the Stepper >>> controller after the frequency stabilizes. >>> >>> I hope this helps get you started... >>> >>> Now, I could really use help with is understanding how to program the >>> IOIO "sequencer" using AI2 . I seem to be able to send a "string variable" >>> from AI2 to the IOIO, but I need to know ...is what to put in the string to >>> set up multiple PWM channels....and then sequence them. Any help would be >>> greatly appreciated. >>> >>> >>> On Monday, May 25, 2015 at 8:26:17 AM UTC-4, joe el khoury wrote: >>> >>>> Dear Ytai, >>>> >>>> Is it possible to use app inventor for IOIO? It may save a lot of time. >>>> If yes, how? >>>> >>>> Thanks, >>>> >>>> Waiting for ur reply ASAP, >>>> >>>> Best regards, >>>> Joe >>>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "ioio-users" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> To post to this group, send email to [email protected]. >>> Visit this group at http://groups.google.com/group/ioio-users. >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- >> You received this message because you are subscribed to a topic in the >> Google Groups "ioio-users" group. >> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/ioio-users/Tt4H2gYxQt8/unsubscribe. >> To unsubscribe from this group and all its topics, send an email to >> [email protected]. >> To post to this group, send email to [email protected]. >> Visit this group at http://groups.google.com/group/ioio-users. >> For more options, visit https://groups.google.com/d/optout. >> > > -- > You received this message because you are subscribed to the Google Groups > "ioio-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/ioio-users. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "ioio-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/ioio-users. For more options, visit https://groups.google.com/d/optout.
