added code for rfid reader. read's now when motor power isn't connected.