Last modified March 24, 2015
Tutorials: First Gadgeteer Project
There are times when you want to add a feature or fix a bug in one of our Gadgeteer drivers. Since we release the source code for our drivers at https://bitbucket.org/ghi_elect/gadgeteer/ you can download our driver, add it to your project, and change what you need.
Make sure not to change the constructor parameters or the code generated by the Gadgeteer designer will not compile.
You will now see two projects in your solution. One is your application, and one is the actual driver for the module.
Now you add a reference in your project to the driver project you just added. Then remove the reference to the built in driver. It will usually be of the form GTM.GHIElectronics.[Module Name].
You can now compile and deploy your project and it will use the driver project you added. Any changes you make there will be used in your project.
Any time you change anything in the designer, a reference to our built in driver will be re-added. Make sure to remove this if it gets re-added.