Basic barcode reading working