We no longer sell products directly from the GHI Electronics website, click here for more details. Please find a Distributor to complete your online order. If you have any questions regarding this notice please contact us at support@ghielectronics.com.

Gadgeteer Driver Modification

Last modified March 24, 2015

Required

Tutorials: First Gadgeteer Project

Introduction

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.

Warning

Make sure not to change the constructor parameters or the code generated by the Gadgeteer designer will not compile.

Including the Driver

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.

Warning

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.

Leave feedback about this document.
Let us know if the information presented here was accurate, helpful and if you have any suggestions.
Leave feedback about this document.
Let us know if the information presented here was accurate, helpful and if you have any suggestions.

* Indicates required fields.
This form is only for feedback not support.
Review our how to find information guide on locating helpful resources.