dangrie158 / opencushion

A c++ driver and a node binding for the HX711 Load Cell Amp
MIT License
14 stars 17 forks source link

Async callback? #12

Open rlaferla opened 2 years ago

rlaferla commented 2 years ago

Is there a way to make it so that when the value changes (item placed on scale, item removed from scale), it calls a callback function? Even if it polls the sensor synchronously, it could do the work behind the scenes for an async interface.