dangrie158 / opencushion

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

added constructor argument to skip the wiringPiSetup call #3

Closed Clotoo closed 7 years ago

Clotoo commented 7 years ago

See issue https://github.com/dangrie158/opencushion/issues/2

dangrie158 commented 7 years ago

Hi, I first thought that the solution with the extra parameter is not really a nice way to implement this feature and wanted to reject this PR. However, as it turns out, there is no way got get an initialization status from Wiring Pi, so this seems to be the only viable option ATM.

Thanks for this PR