This commit is contained in:
Ivan Kravets 2015-05-23 17:01:00 +03:00
commit 1a807a11a6
2 changed files with 3 additions and 2 deletions

View file

@ -1,4 +1,5 @@
/* Parser for standard HID scale (usage page 0x8d) data input report (ID 3) */ /* Parser for standard HID scale (usage page 0x8d) data input report (ID 3) */
#include <avr/dtostrf.h>
#include "scale_rptparser.h" #include "scale_rptparser.h"
const char* UNITS[13] = { const char* UNITS[13] = {

View file

@ -14,7 +14,7 @@
USB Usb; USB Usb;
USBHub Hub1(&Usb); USBHub Hub1(&Usb);
USBHub Hub2(&Usb); USBHub Hub2(&Usb);
HIDBoot<HID_PROTOCOL_KEYBOARD> Keyboard(&Usb); HIDBoot<HID_PROTOCOL_KEYBOARD> HidKeyboard(&Usb);
ADK adk(&Usb,"Circuits@Home, ltd.", ADK adk(&Usb,"Circuits@Home, ltd.",
"USB Host Shield", "USB Host Shield",
@ -80,7 +80,7 @@ void setup()
while(1); //halt while(1); //halt
}//if (Usb.Init() == -1... }//if (Usb.Init() == -1...
Keyboard.SetReportParser(0, (HIDReportParser*)&Prs); HidKeyboard.SetReportParser(0, (HIDReportParser*)&Prs);
delay( 200 ); delay( 200 );
} }