Magstripe Project: Ensure that empty tracks still print out a newline seperator so that the host always knows what track data is being sent.

Updates to PrinterHost demo to include some PCL test data plus fixes to the GetDeviceID routine.
This commit is contained in:
Dean Camera 2009-07-19 07:30:37 +00:00
parent d6543dee0d
commit b243c2b80b
6 changed files with 83 additions and 51 deletions

View file

@ -51,6 +51,9 @@
#include <LUFA/Drivers/USB/Class/HID.h>
/* Macros: */
/** Total number of tracks which can be read from the card, between 1 and 3. */
#define TOTAL_TRACKS 3
/** HID keyboard keycode to indicate that no is currently pressed. */
#define KEY_NONE 0