Skip to content

wallacezq/HIDBarcodeScanner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Barcode Scanner Library - Arduino x86

This library is created for Intel Galileo by Wallace Lee.

The library uses Linux input event interface; therefore, it will not work with ARM/ATMEL uC based Arduino devices.

To use this library in your Sketch, copy the HIDBarcodeScanner library into [arduinosketchfolder]/libraries and restart your IDE.

An example is included in this library under File->Examples->BarcodeScanner->BarcodeTest.

You may need to change the device path (/dev/input/eventX) to point to your USB HID barcode reader for it to work.

...
// the device number may differ from one system to another. 
// Replace X with the device number assigned by kernel.
BCodeScanner bscanner=BCodeScanner("/dev/input/eventX");
void setup()
{
...
}
...

Feel free to enhance this library by adding support for USB CDC / RS232 based Barcode Scanner.

About

A barcode scanner library for Arduino on x86 based platform.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published