#define ONE_PIN_ENABLED true

Issue #1 resolved
Former user created an issue

I've upgraded from v1.5 to 1.7 and in 1.7 ONE_PIN_ENABLED was changed to true by default. This causes problem for my setup and ping time results worked at first but after 30min or so ping time will quicky increase beyond what is set at max. Even when I unplugged the ultra sonic sensors, it still report increasing ping time. My guess is changing the pin from input to output and back to input causes problem with my Mega 2560.

Changed: #define ONE_PIN_ENABLED true

To: #define ONE_PIN_ENABLED false

fixed it for me.

Comments (3)

  1. Tim Eckel repo owner

    Actually, the default action did not change. Before, the option was a double negative. The switch was DISABLE_ONE_PIN and it defaulted to false (which would mean one pin mode is on). In v1.7 the switches were "corrected" so the names would not create confusion with a double negative. So, the new switch is named ONE_PIN_ENABLED with the default being true (which also means one pin mode is on). Here's the breakdown:

    v1.5 - DISABLE_ONE_PIN false

    v1.7 - ONE_PIN_ENABLED true

    Both of which means one pin mode is turned on.

    Also, it's a switch so you can disable it. Just change it from true to false if your hardware/sketch requires it.

  2. Tim Eckel repo owner

    One pin mode was on by default in v1.5 and still on by default in v1.7. The difference is that the switch name changed to no longer be a double negative which creates confusion (like this issue).

  3. Log in to comment