IAmOrion said:Matty_Z4 said:For the floating pin can you just not use the appropriately sized pullup / pulldown resistor to tie the signal high or low until triggered? Not sure how it would affect the inbound signal from the voltage divider.
Looks like a pretty good project, always love a good DIY electronic project.
Without getting into a huge electronics lesson, the short answer is no - you wouldn't / shouldn't do that when using voltage dividers. What I've done, and that code snippet is the best method to use.
Thats why I let the engineers engineer
