A simple library to interface with RDM6300 RFID reader.
Stream
.A simple RFID tag reader with textual serial output:
examples/read_to_serial/read_to_serial.ino
void begin(Stream *stream)
- Initialize instance to read from a given stream.void begin(int rx_pin, uint8_t uart_nr=1)
- Initialize instance to read from a given pin.void set_tag_timeout(uint32_t tag_timeout_ms)
- sets the tag "valid" timeout, (300ms default)uint32_t get_tag_id()
- Returns the tag_id as long as it is near, 0 otherwise.uint32_t get_new_tag_id()
- Returns the tag_id of a "new" near tag,bool update()
- Updates the internal values must be called repeatedly!bool is_tag_near()
- Returns whether a tag is held near.get_tag_id()
.
A.E.TECH