Skip to content

Rfid134 object

Michael Miller edited this page May 29, 2019 · 1 revision

Rfid134 object provides access to all the functions of the WL-134 module.

Constructors

template<class T_SERIAL_METHOD, class T_NOTIFICATION_METHOD> Rfid134(T_SERIAL_METHOD& serial)

Construct a Rfid134 object using the provided Serial and Notification methods.
T_SERIAL_METHOD - the typename of the class that will provide the serial communications support. Normally this will be either HARDWARE_SERIAL or SOFTWARE_SERIAL.
T_NOTIFICATION_METHOD - a user provided class that implements the notification callbacks. See the example for how you would provide this.
serial - the instance of the serial communications class that will be used to talk with the WL-134 module.

Methods

void begin()

The normal begin method that should be called within Setup()

void loop()

This should be called from within Loop() of your Arduino sketch regularly. It will do the work and call you back on the notification class you provided if a RFID packet was decoded.

Clone this wiki locally