Example program to read HID ProxCards using the gatech BuzzCard format with a HID ProxPoint Plus 6005BG00.
Dependencies: HID_Wiegand mbed USBDevice
See library: http://mbed.org/users/cbookman3/code/HID_Wiegand/wiki/Homepage
Revision 1:093dffbd107b, committed 2014-04-22
- Comitter:
- cbookman3
- Date:
- Tue Apr 22 17:56:04 2014 +0000
- Parent:
- 0:59e72754e5b6
- Child:
- 2:cbbc69f00a81
- Commit message:
- added comments
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Tue Apr 22 17:53:41 2014 +0000 +++ b/main.cpp Tue Apr 22 17:56:04 2014 +0000 @@ -3,12 +3,12 @@ Serial pc(USBTX, USBRX); // tx, rx void onCardRead(); - -Wiegand rfid(p30, p29, p28, &onCardRead); //, PinName pHold, &onCardRead); //void (*onCardRead)(void)); +// (PinName pdata0, PinName pdata1, PinName pHold, void (*onCardRead)()); +Wiegand rfid(p30 , p29 , p28 , &onCardRead); int main() { while(1) { - rfid.doEvents(); + rfid.doEvents(); //check if RFID Reader has read all data } }