Hi,
I am currently using a barcode scanner to my arduino mega. I use a USB shield to enable my arduino to serve as a USB host for the barcode scanner.
I have found some links online which share the code that I can use.
These codes primarily allow me to enable the barcode scanner as a HID keyboard device.
For some reason , however, the code does not seem compatible with my arduino mega.
I have read on some forums, that some people have this issue when using the code I found on : https://www.youtube.com/watch?v=t5gkg645xGE
The example too uses a mega and a barcode of matching compatibility. The choice of USB shield is different.
I simply can not seem to understand what the issue is .
As for my barcode scanner, it works as it does when I plug it directly into the PC. However, when the beep comes in ( which means its scanned and printed out the output), I cannot trace it. Dont know how and where to find where it is being sent to.
I am currently notified that I have OSC does not start. What exactly does this mean?
I was advised by someone to " Just configure one of your hardware serial ports on your mega to read the UART data. " I am really not sure what this means. I was under the impression that the UART was by default transmitted via the hardware serial port.
Does being asked to configure this mean that I need to make changes to my code/ the shield library?
Please advice me as to what I can do from here!