Support » Pololu Simple Motor Controller G2 User’s Guide » 8. Example code »
8.3. Example native USB code in C#, Visual C++, and VB .NET
The Pololu USB Software Development Kit supports Windows and Linux, and includes the source code for:
- SmcG2Example1: a simple example application that uses native USB and has three buttons for setting the motor speed. Versions of this example are available in C#, Visual Basic .NET, and Visual C++.
- SmcG2Example2: an example graphical application that has a scrollbar for setting the motor speed over native USB (written in C#).
- SmcG2Cmd: the command-line utility for configuring and controlling the Simple Motor Controller G2 (written in C#).
- SmcG2: A .NET class library that enables native USB communication with the Simple Motor Controller G2 (written in C#).
You can modify the applications in the SDK to suit your needs or you can use the class library to integrate the Simple Motor Controller G2 in to your own applications.