monkeyboard / Wiegand-Protocol-Library-for-Arduino

Wiegand 26 and Wiegand 34 Protocol Library for Arduino
332 stars 128 forks source link

Configuring GPIO PIN for ESP32 ? #20

Closed Netoperz closed 6 years ago

Netoperz commented 7 years ago

Any idea how to use this library with ESP32 ?

I do not know how to remap pins to proper pins that i have free on my board, and can any pin be used for input from wiegand reader ?

nardev commented 7 years ago

for ESP8266 it was ok when i started it like

wg.begin(4,4,5,5);

where 4 and 5 is D0 and D1

ESP8266 has interrupts on all pins so.. it's not like arduino...

jpliew commented 6 years ago

@Netoperz, does @nardev 's answer work for you? Please let me know so that I can close this issue.