I don't know this app at all, but from a quick scan it seems like the IOIO-related stuff takes place in: https://github.com/akexorcist/IOIO-CameraRobot/blob/master/app/src/main/java/app/akexorcist/ioiocamerarobot/ioio/IOIOControllerActivity.java#L329
You'd need to open PwmOutput on whatever pin the servo is on and run it at 50Hz, 1ms-2ms pulse width. IOIOSimpleApp contains and example for using a servo. On Sun, Jun 12, 2016 at 9:08 AM, <[email protected]> wrote: > hello everyone, I have downloaded the source > https://github.com/akexorcist/IOIO-CameraRobot, works well but would like > how to add a servo motor (Monza ssa27). After 2 weeks of research on how > to insert code, still nothing, of course I am beginner Android Studio. > Someone help me please? My setup: 2 dc motors operated by L293D - IOIO > sprk0016 - 0311 bootloader - FW 0506 - Android Studio 2.1 / 5.1 lollipop > (Sorry > for my bad English). > > -- > 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 https://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 https://groups.google.com/group/ioio-users. For more options, visit https://groups.google.com/d/optout.
