WSTOK WROTE:Hi Ober,
i had try the mouse source code and i facing some error when i build all. Kindly advice.
Er... most of the missing are from C18 Compiler. Try to search the header folder of MCC18.
WSTOK WROTE:Hi Ober,
i had try the mouse source code and i facing some error when i build all. Kindly advice.
if(b_1 == 0) // test button 1
{
//Load the HID buffer
hid_report_in[0] = 0;
hid_report_in[1] = 0;
hid_report_in[2] = key++; // ASCII
hid_report_in[3] = 0;
hid_report_in[4] = 0;
hid_report_in[5] = 0;
hid_report_in[6] = 0;
hid_report_in[7] = 0;
//Send the 8 byte packet over USB to the host.
lastINTransmission = HIDTxPacket(HID_EP, (BYTE*)hid_report_in, 0x08);
if(key == 40)
{
key = 4;
}
}
A380 WROTE:Hi,
Sorry.. Try again with attached files now.. I tried it, compiled successful.
Users browsing this forum: No registered users and 13 guests