writetorfid()

Function Definition: writetorfid(data = "Hello!", duration = 5)

Parameters

NameTypeDescriptionExpected ValuesDefault Value
datastringThe data which needs to be written on the RFID tag.string"Hello!"
durationintThe duration for which the write operation will be tried in seconds.0-605

Description

The function writes the message to the RFID tag. It will wait for the specified time to scan an RFID tag and write the value on it. The function also reports whether the operation is completed or not. If the write is complete the block returns 1, else it returns 0.

Example

There are no examples documented for this article.
Table of Contents