felis / usb_host_shield Goto Github PK
View Code? Open in Web Editor NEWLibraries and code for Circuits@Home Arduino USB Host Shield
Home Page: http://www.circuitsathome.com/category/mcu/arduino/usb-shield
Libraries and code for Circuits@Home Arduino USB Host Shield
Home Page: http://www.circuitsathome.com/category/mcu/arduino/usb-shield
Arduino IDE throws error that "#error: include USB.h instead of max321e.h" ...after deleting the max321e.h include the IDE throws error that declare variable as const
Tried to install the lib and do the sample application, got this error.
adktest.cpp:3:30: error: AndroidAccessory.h: No such file or directory
File does not seem to be present.
Hi,
i’m having trouble using USB Host Shield 2.0 on a barcode scanner. The barcode when reading the code, does not output in the Serial Monitor and after that is stay in a dead state (It cant trigger), coming back to read new codes after a few seconds (after two another configurations). I’m using USBHIDBootKbd and the arduino Uno connected to a power in 12v.
From what I’ve been debugging the lib and the Task method of USB class, when a code is read, the HIRQ (CONDETIRQ) detects that the device has been disconnected generating a SE0. Then the device is reconfigured and I can read another code after two configurations.
It may be that reading the code is still being made when the HIRQ register is read?
By their experience the USBHIDBootkbd can be used in this barcode scanner with this HID_Desc or I’ll have to write a HID report parsing?
In the USB_desc my class, subclass and protocol are 3, 1, 1. Following the output of USBHID_desc
0000: 06 00 FF 09 01 A1 01 19 00 29 FF 15 00 25 FF 95
0010: 01 75 08 81 02 19 00 29 FF 15 00 25 FF 95 01 75
0020: 08 91 02 C0
Usage Page Undef(00)
Usage
Collection Application
Usage Min(00)
Usage Max(FF)
Logical Min(00)
Logical Max(FF)
Report Count(01)
Report Size(08)
Input(00000010)
Usage Min(00)
Usage Max(FF)
Logical Min(00)
Logical Max(FF)
Report Count(01)
Report Size(08)
Output(00000010)
End Collection
Thanks for help me.
Hello,
I've a problem with a Keyboard and USB Host Shield libraries, when I press any lock key (CapsLock, NumLock or ScrollLock) the led came on, but if I press again it does not came off, it only came off when I press any other lock key.
Best regards.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.