Hi All,
I am working on a project wherein I have to read some parameters from a barcode using a barcode scanner.
Hardware & software I am using:
- Arduino UNO R3,
- USB host shield by sparkfun (https://www.sparkfun.com/products/9947)
- iball's USB barcode scanner
- Arduino IDE 1.5.6r2
- USB host library (https://github.com/felis/USB_Host_Shield_2.0/archive/master.zip)
- Code from http://www.circuitsathome.com/mcu/connecting-barcode-scanner-arduino-usb-host-shield with all LCD related syntax removed; I am printing to Serial.
Problem:
I was able to compile and upload the code successfully. While running sometimes I got a message on Serial which said "OSC did not start" while other times the "OSC did not start message did not appear but the scanned text was not displayed on the Serial.
After a while I was able to run it fine and could see the scanned text on the Serial window.
My problem is that I am again getting "OSC did not start" error and honestly everything (connections, code) is same as before. Could anyone here comment on what could be causing this problem?
Thanks and regards,
-amit