Gosport, UK
Offline
Faraday Member
Karma: 19
Posts: 3117
|
 |
« Reply #15 on: January 12, 2012, 07:10:09 am » |
That's one of the example sketches from the github link. It does say "OSC did not start".
|
|
|
|
« Last Edit: January 12, 2012, 07:12:52 am by dxw00d »
|
Logged
|
|
|
|
|
Offline
Jr. Member
Karma: 0
Posts: 60
|
 |
« Reply #16 on: January 12, 2012, 07:30:58 am » |
this is the code provied in USB 2.0 library .......
i am using normal USB mouse whom compatible with PC. could u tell me how Usb.Init() function will be work......??
|
|
|
|
|
Logged
|
|
|
|
|
Pittsburgh, PA, USA
Offline
Faraday Member
Karma: 33
Posts: 3015
I only know some basic electricity....
|
 |
« Reply #17 on: January 12, 2012, 07:41:00 am » |
thanks
could you tell me which way i have to use for learning process... i m trying HID code but that code not with my board even single code so may be i m doing in wrong direction. so guide me how could i use in general term.
Learning process should focus on all electrical connections and then finding out WHY Usb.Init() failed. You have the library and documents/sites, some difference between what You Have and What Is Supposed To Work should show with enough You Doing The Looking. You are the only one with your hardware. Don't assume everything is right. When there's a problem check 3 times and check again.
|
|
|
|
|
Logged
|
Examples can be found at Learning in the Main Site and at the Playground
|
|
|
|
Offline
Jr. Member
Karma: 0
Posts: 60
|
 |
« Reply #18 on: January 12, 2012, 07:56:51 am » |
can any one tell me how this library work.....??? any related document any kind of flow of this library...??? https://github.com/felis/USB_Host_Shield_2.0any kind of manual how this library works....what is the all function which covers by this library any thing then please give to me if anyone tell me what is the work of basic function then it will be more use full for me...
|
|
|
|
|
Logged
|
|
|
|
|
Gosport, UK
Offline
Faraday Member
Karma: 19
Posts: 3117
|
 |
« Reply #19 on: January 12, 2012, 08:04:42 am » |
Perhaps start here http://www.circuitsathome.com/arduino_usb_host_shield_projects as they wrote the library. What did you plan to do with it when you purchased it?
|
|
|
|
« Last Edit: January 12, 2012, 08:06:14 am by dxw00d »
|
Logged
|
|
|
|
|
Pittsburgh, PA, USA
Offline
Faraday Member
Karma: 33
Posts: 3015
I only know some basic electricity....
|
 |
« Reply #20 on: January 12, 2012, 09:01:27 am » |
can any one tell me how this library work.....??? any related document any kind of flow of this library...??? https://github.com/felis/USB_Host_Shield_2.0any kind of manual how this library works....what is the all function which covers by this library any thing then please give to me if anyone tell me what is the work of basic function then it will be more use full for me... The libraries have header code, the file with last name .h, and .cpp file. When things get heavy, you read the code and relate instructions to what the hardware is/should-be doing. It is usually not easy or simple but you _can_ be sure what you have. You need to find all the ways the Init() function can fail and find out which one happens to your project. It may be something as simple as code written for an UNO being run on a Mega without changing the pins used or it may be like having teeth pulled to find. Sorry but you want to do the complex thing with the complex pieces then most of the time you will get complex problems.
|
|
|
|
|
Logged
|
Examples can be found at Learning in the Main Site and at the Playground
|
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 12
|
 |
« Reply #22 on: January 14, 2012, 07:26:39 am » |
Olegs's library does NOT work with the Mega ADK,I have tried it again with the new 1.0 IDE and his updated USB library for that IDE. It compiles OK but it will NOT work on the Mega ADK. DON'T buy the Mega ADK if you want to work and experiment with oleg's USB-lib. Spare yourself the frustration with this next to useless board...
|
|
|
|
|
Logged
|
|
|
|
|
Seattle, WA USA
Offline
Brattain Member
Karma: 334
Posts: 36433
Seattle, WA USA
|
 |
« Reply #23 on: January 14, 2012, 08:12:47 am » |
Spare yourself the frustration with this next to useless board... It is hardly next-to-useless. What it is is a special purpose board that should not be used as a general purpose board.
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 12
|
 |
« Reply #24 on: January 14, 2012, 11:46:13 am » |
Spare yourself the frustration with this next to useless board... It is hardly next-to-useless. What it is is a special purpose board that should not be used as a general purpose board. A quote from the product page: http://arduino.cc/en/Main/ArduinoBoardADK"...The USB host interface given by MAX3421E IC allows the ADK Arduino to connect and interact to any type of device that have a USB port. For example, allows you to interact with many types of phones, controlling Canon cameras, interfacing with keyboard, mouse and games controllers as Wiimote and PS3." Sound like a general purpose board to me. And the product page *really* should have mentioned that just not any USB-lib will work on it !
|
|
|
|
|
Logged
|
|
|
|
|
Pittsburgh, PA, USA
Offline
Faraday Member
Karma: 33
Posts: 3015
I only know some basic electricity....
|
 |
« Reply #25 on: January 14, 2012, 06:16:24 pm » |
Next Week:
IBM/Windows PC is useless because it won't run Mac software.
|
|
|
|
|
Logged
|
Examples can be found at Learning in the Main Site and at the Playground
|
|
|
|
Gosport, UK
Offline
Faraday Member
Karma: 19
Posts: 3117
|
 |
« Reply #26 on: January 15, 2012, 03:49:39 am » |
What is really bad, is that Google's adk page actually links to the Circuits@home page for the usb host library.
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 12
|
 |
« Reply #27 on: January 15, 2012, 10:44:45 am » |
Next Week:
IBM/Windows PC is useless because it won't run Mac software.
Comparing apples and pears...
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Jr. Member
Karma: 0
Posts: 60
|
 |
« Reply #28 on: January 16, 2012, 04:44:35 am » |
https://github.com/felis/USB_Host_Shield_2.0if i want make compatible this library with MEGA ADK so in which files i have to make changes.....??? i thinks just change in Max3421e.h file with SPI pins. if another changes so please help me to make compatible with MEGA ADK
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 2
|
 |
« Reply #29 on: March 07, 2012, 10:27:03 am » |
just check avrpins.h
|
|
|
|
|
Logged
|
|
|
|
|
|