#define PULSE_PIN 3 void setup() { Serial.begin(115200); pinMode(PULSE_PIN, INPUT_PULLUP); uint32_t pulse = pulseIn(PULSE_PIN, HIGH, 6000); Serial.print ("pulse len ...
This function initializes all registers and internal values of the RCReader class please use the provided pindefines, as only these pins work with this library. All of them are named like RCR_PIN_.