
Step 6: Generate and View the Code

When you’re satisfied with all the descriptor tables, their values, and their comments, you’re ready to generate code for both the peripheral and the PC-side programs. Save your work at this point, and click the “Next ” button. HIDmaker FS will check all of your descriptors (including any new values or whole descriptor tables you have added) at this point, and advise you of any errors or changes you need to make.
When all problems have been resolved, HIDmaker FS will present you with programming language choices. On the left column, choose your favorite PICmicro programming language: PicBasic Pro, Assembler, Hi-Tech C, or CCS C, to let HIDmaker FS generate the firmware for your USB HID-class peripheral. On the right column, choose your favorite Windows programming language: Visual Basic, Delphi, or C++ Builder. HIDmaker FS will generate a PC-side program that automatically knows how to talk to the peripheral it just generated.
View and Print Your Code

HIDmaker FS shows you the code that it has generated, organized by programming language in the Peripheral Side and Host Side groups. Just click on the tabs to view files in either group, and any particular language in that group.
If you like, you can print out the code that HIDmaker FS has generated for you. You can print out:
If you know what features you want to add to the generated code, you can even edit it right inside HIDmaker FS.
You're Ready to Compile!
Use the PIC language compiler that you already own to compile the peripheral side code that was generated by HIDmaker FS. Program the hex file produced by your compiler into a device, and install that device into your peripheral circuit board.
Similarly, use the PC-side language compiler that you already own to compile the PC-side application code that HIDmaker FS generated.
Now, you’re ready to test.
Home | About
Us | Contact Us
USB Tools | Consulting
