hi to all
I want to change the status of button2 in the library from pull-up to pull-down. Is it possible to do this in the button2 Arduino library? The library only detects the button when it is connected to GND, but if I want to connect it to a positive signal, it doesn't detect anything.
The Toggle library can do this. Here's an example.
1 Like
to library i changet intput pullup to false in file hader
public:
Button2();
Button2(byte attachTo, byte buttonMode = INPUT_PULLUP, boolean isCapacitive = false, boolean activeLow = false);
void begin(byte attachTo, byte buttonMode = INPUT_PULLUP, boolean isCapacitive = false , boolean activeLow = false);
Why do you want to do that?
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.