Add basic RFID reader scanning code.

Other cleanup and docs.
This commit is contained in:
Dana Woodman
2018-03-04 14:35:02 -08:00
parent bf358756e1
commit a66f602dc4
11 changed files with 4683 additions and 2231 deletions

9
__mocks__/node-hid.js Normal file
View File

@@ -0,0 +1,9 @@
const HID = jest.fn()
HID.prototype.read = jest.fn()
const hid = {
devices: jest.fn(),
HID,
}
module.exports = hid