pyr0ball / pyr0piezo

An AVR/ARM based piezoelectric sensor for use in ultra-precise applications
https://docs.pyroballpcbs.com/
Other
71 stars 23 forks source link

[FR] Add support for either active high or active low logic #61

Closed pyr0ball closed 4 years ago

pyr0ball commented 4 years ago

Is your feature request related to a problem? Please describe. Back in #17 we switched the probe to having active low logic (following the endstop standard) however, many boards that have a dedicated "probe" input seem to have a hardware pullup resistor attached to the logic pin. This means that (with the current scheme of trigger logic) even if the probe board is disconnected, the trigger logic still shows as "open"

Describe the solution you'd like As this is a hardware pullup on the control board side, this sensor needs to be able to accommodate both logic schemes. This will necessitate changing the trigger output function to be invert-able, as well as introducing a new serial input to invert the logic

pyr0ball commented 4 years ago

fixed in a9d9288