Open mirko3000 opened 5 years ago
Hi,
I am having issues getting the library to work. I could build it and included in my project, but on var sensor = new HX711(4,6) I get an compile error: TypeError: HX711 is not a constructor.
var sensor = new HX711(4,6)
TypeError: HX711 is not a constructor
Can you provide a short code snippet? Best regards, Mirko
var HX711 = require('hx711'); const sensor = new HX711(4,6);
something like that should work
Hi,
I am having issues getting the library to work. I could build it and included in my project, but on
var sensor = new HX711(4,6)
I get an compile error:TypeError: HX711 is not a constructor
.Can you provide a short code snippet? Best regards, Mirko