wgrube/microbridge

Incompatibility with Arduino v1.0

GoogleCodeExporter opened this issue · 6 comments

What steps will reproduce the problem?
1. Install the library using the Arduino v1.0 
(http://code.google.com/p/arduino/wiki/Arduino1)
2. Try to compile the Demo adb example
3.

What is the expected output? What do you see instead?
Compilation error appears about Wiring.h. Has been replaced by Arduino.h in the 
new version

What version of the product are you using? On what operating system?
Arduino v1.0 on MacOSX

Please provide any additional information below.
If you manually replace Wiring.h with Arduino.h in Adb.h, max3421e.cpp, and 
usb.cpp sketch compiles again normally

Original issue reported on code.google.com by ch.dou...@gmail.com on 4 Oct 2011 at 10:31

[deleted comment]
Thanks for reporting. I'll have a look at it whenever I have time. Probably 
somewhere in the next millenium?

Original comment by inopia.s...@gmail.com on 19 Jan 2012 at 9:50

  • Changed state: Accepted
one more issue about incompatibility to 1.0 is the Serial.print() command
in Serial.print(data[i]); will stream random numbers instead of text,
so it need to be change to

Serial.write(data[i]);

Thanks,

Original comment by nanda.f...@gmail.com on 20 Jan 2012 at 8:14

Thanks for the comments guys, since inopia seems to be short of time I zipped 
the patched version and attached it.

Original comment by mister...@gmail.com on 2 Jun 2012 at 7:53

Attachments:

i tried this library but it did not work for me.
i got only this error"Error: OSCOKIRQ failed to assert".
So anybody tell me why i am getting this error what i have to do to remove this 
error.

Apart this Accessory mode working fine for me that mean my hardware is working 
properly. only.

Original comment by ambujl...@gmail.com on 27 Aug 2012 at 1:05

Check this: 
http://stackoverflow.com/questions/11213536/error-oscokirq-failed-to-
assert/11239701#11239701

I had the same problem but could solve it using this, seems like the Android 
library needed patching, nothing to do with MicroBridge really.

Original comment by d...@evrythng.com on 10 Dec 2012 at 6:16