Now you can test this project using mikroC HID Terminal as demonstrated in previous post, but in the following video shows the project demo using HID Terminal developed by Embedded Laboratory, to download the Embedded Laboratory HID Terminal Software click here. USB HID Project in MPLAB Using CCS PIC-C Compiler Build this project and program the micro-controller with the hex files and configuration files. Printf("\r\n\nUSB Test Program->Written in CCS PIC-C") Printf("\r\n\nUSB unenumerated by PC/HOST, waiting for enumeration.") The ever-increasing number of hardware and software libraries, intuitive IDE, integrated Visual TFT software, detailed documentation, a full box of additional. Printf("\r\n\nUSB enumerated by PC/HOST") Printf("\r\n\nUSB disconnected, waiting for connection.") Printf("\r\n\nUSB connected, waiting for enumaration.") #define USB_CONFIG_VID 4660 //So that they will work with my Application #define USB_CONFIG_PID 1 //Chnage Vendor Id and Product Id #fuses HSPLL,NOWDT,NOPROTECT,NOLVP,NODEBUG,USBDIV,PLL5,CPUDIV1,VREGEN ![]() ![]() The code is self explanatory with the help of the comments written. Create a project in MPLAB IDE and copy the code given below and paste it in new file.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |