Sample Code for Interacting with Card Readers