IOIOActivity extends Activity so this should not be a problem. On Thu, Apr 2, 2015 at 1:15 AM, Vincent Yegenoglu <[email protected]> wrote:
> Hi, > > Last summer I wrote an OpenCV app for university, now I want to control > servos attached to a IOIO board from the same app. > > I'm trying for a start by just flashing an LED but I'm having trouble > adding the IOIO code to my code. > The problem is I'm trying to use the demo app that came with the IOIO > library as an example, it requires "IOIOActivity" to be extended but my > main code already extends "Activity" and you can't extend two classes in > one line. > > If you would have any suggestions on how to accomplish this I would be > grateful. > > Here is a link to my code. http://pastebin.com/aBgyKxSb > > The app currently tracks a red ball and generates a point. I will use that > point to control two servos later on, right now I just want the LED on the > IOIO board to flash. > > -- > 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.
