You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have tested the zfm20 using the SFGDemo windows application, and it works fine. However, when i use this package, and run the example code, I always get 'Unknown Fingerprint".
Example code (Connected to COM3):
var FingerPrint = require("zfm20"),
sensor;
sensor = new FingerPrint();
sensor.connect({
port : "COM3"
baudrate : 57600,
});
I have tested the zfm20 using the SFGDemo windows application, and it works fine. However, when i use this package, and run the example code, I always get 'Unknown Fingerprint".
Example code (Connected to COM3):
var FingerPrint = require("zfm20"),
sensor;
sensor = new FingerPrint();
sensor.connect({
port : "COM3"
baudrate : 57600,
});
sensor.on("ready", function(){
});
The connection is ok when i run this code:
var FingerPrint = require("zfm20"),
sensor;
sensor = new FingerPrint();
sensor.ports(function(port){
console.log(port); //check available port
});
Any advice?
The text was updated successfully, but these errors were encountered: