barcode_status

Description

Checks if the barcode reader has read a barcode. Returns barcode, as a string, if read successfully.

Signature

barcode_status(self) -> Union[Tuple[bool, str]]

Returns

bool

False if no code is read.


Tuple[bool, str]

Returns (True, barcode_str) if a barcode was successfully measured.