Hi. Im trying to get RFID data from a bluebox M30 scanner. The problem is that it is in a continuous mode so it continuously reads data. What this means is that it reads and detects a tag but as soon as that tag is removed it reads the default value (0). When it detects a tag the array fluctuates between the default value and the tags values. My goal is to store just the tags value in an array. Is there anyway I can pause the array from fluctuating and extract the tags value?
Hello usmank6009,
to do something like that just check the input value if it does not equal 0 the value shall be copied.
if (value != 0 && lastvalue != value) {
array[i] := value
lastvalue := value
i++
}
So you will just have a list of recent RFID data stored.