| How To Customize HIDmaker USB Devices |
|
|
|
|
You will need to do a little customizing of the source code that HIDmaker FS generates, but hey, we had to leave you something to do, right? Customizing the PIC Code To keep the generated PIC code as flexible as possible, HIDmaker FS generated PIC code does no hardware dependent I/O other than USB. You see, HIDmaker can't know what I/O pins you'll want to use, what A/D channels you'll use (if any), or what other PIC peripherals you'll need to use in the PIC software in your HIDmaker USB peripheral device. Adding "real I/O" in your PIC code is YOUR job. Many of our customers find that our generated code is so complete, they only need to add about a dozen lines of PIC code to make a pretty good USB device. (Of course, your job may be more complicated, but that's OK, we're here to help!) You can see some specific examples of the kind of code you need to add, on the PICBASIC PRO, Microchip C18, and HiTech PICC-18 pages. Even if you have to add some more complicated PIC code to your generated firmware, you will find that the PIC side code of the HIDmaker Software Framework is designed from the ground up to be powerful, yet easy to understand and extend. And for you, as a registered HIDmaker FS customer, expert help and advice is always just an email or phone call away.
Customizing the PC Code HIDmaker FS does generate a complete, CUSTOM, ready to compile and run Windows Graphical User Interface (GUI) program for you: a program that is match to the PIC device code which was generated as part of the same project. However, in order to be able to do that with all the different PC compilers we have to support, HIDmaker generates a functional, but bland looking user interface:
We expect that you will probably want to dress up the appearance of your PC program, and give it a user interface that makes sense for your particular application. It is very easy to do that with most of the modern PC compilers that HIDmaker FS supports. As an example, here is how we were able to transform a demo program that runs on our favorite USB test board, the microEngineering Labs LABX-USB board. This demo board contains the following I/O controls: A 2-line LCD displayA 4 x 4 array of pushbuttons 4 LEDs 2 pots
By deleting the big text box on the main window, and adding a few colorful third party controls, we were able to transform the functional but bland looking main window of the generated code into something that looks much better:
This took about an hour’s work with
Recommended USB Development Procedure We recommend that you follow this procedure after you generate your code with HIDmaker FS:
|
Customize




