Connect USB HID Barcode Scanner and Scan any product. Add a case for storing your products in the database

Dependencies:   USBHost mbed

Fork of USBHostKeyboard_HelloWorld by Samuel Mokrani

Revision:
1:2063e3713a99
Parent:
0:88d52e197201
Child:
7:4e0c80b26ba6
--- a/main.cpp	Wed Mar 06 17:05:32 2013 +0000
+++ b/main.cpp	Tue Mar 12 17:28:12 2013 +0000
@@ -4,7 +4,7 @@
 DigitalOut led(LED1);
 
 void onKey(uint8_t key) {
-    printf("%c\r\n", key);
+    printf("Key: %c\r\n", key);
 }
 
 void keyboard_task(void const *) {