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

Files at this revision

API Documentation at this revision

Comitter:
samux
Date:
Tue Mar 12 17:28:12 2013 +0000
Parent:
0:88d52e197201
Child:
2:d42e99a46bc4
Commit message:
use latest USBHost

Changed in this revision

USBHost.lib Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/USBHost.lib	Wed Mar 06 17:05:32 2013 +0000
+++ b/USBHost.lib	Tue Mar 12 17:28:12 2013 +0000
@@ -1,1 +1,1 @@
-https://mbed.org/users/mbed_official/code/USBHost/#a554658735bf
+https://mbed.org/users/mbed_official/code/USBHost/#b320d68e98e7
--- 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 *) {