Code: Select all
program HID_Read_Write_Interrupt;
...
var readbuff : array[64] of char; absolute 0x500; // Buffers should be in USB RAM, please consult datasheet
var writebuff : array[64] of char; absolute 0x540;
...
Thanks in advance!
p.s. I see in a lot of places that char is used in stead of byte (e.g. also in the mP usb descriptors). Is this something that comes from C? C has no "byte", it uses unsigned char in stead. Please let mP not be littered by C stuff!