Android Question massive confusion getting started with ioio

jimseng

Active Member
Licensed User
Longtime User
Hi All.
I have B4A V3.2 and a new ioio board. I am simply trying to get started but none of the examples compile, with varying errors.
So to start can someone show me which library I should download and which example (workbench) I should use and which library to enable in the Libs tab for it to work?
I have downloaded ioio 2.zip and placed the .jar and .xml in my libraries folder and tried to run it and get this:
Parsing code. 0.03
Compiling code. Error
Error compiling program.
Error description: Unknown member: writewait
Occurred on line: 620
digo1.WriteWait("",False,0)
Word: writewait
I have been trying to find a simple example but so far failed. (I am still looking and reading but going in circles).
 

Kevin L. Johnson

Member
Licensed User
Longtime User
Take a look at the following link ...
http://www.b4x.com/android/forum/threads/ioio-board-library.8942/page-16#post-246734

I purchased an IOIO from Spark-fun and tried to connect from a Samsung Galaxy S3 via micro USB port. I ran into a few issues but it is now working thanks to everyone's help

1 - Android running above a certain OS version places extra security on USB connectivity. (Maybe limited to Samsung phones and a few other brands)
2 - Because of #1 you need to upgrade the firmware on the IOIO to v5.xx basically the latest firmware which allows the IOIO to run in Open_Accessory mode.
3 - Also you must use the proper matching B4A IOIO Lib (v2.02?) compatible with the IOIO's updated firmware.
4 - In order to run in Open_Accessory Mode you must disable USB debugging under developer options on your phone.
5 - Then run the simple ioio example (which talks to the board and blinks the yellow status LED from a button onscreen) from the link above.

It sounds like alot but it was worth it! I am now blinking the Yellow status LED, and working my way toward moving servos, and reading push buttons
Enjoy!
Kevin
 
Upvote 0
Top