4.i.2. Windows C

<p>For example C code that shows how to control the jrk using its serial interface in Microsoft Windows, download <a href="/file/0J556/JrkSerialCWindows.zip">JrkSerialCWindows.zip</a> (4k zip). This zip archive contains a Microsoft Visual C++ 2010 Express project that shows how to send a Set Target command and also a Get Position command. It can also be compiled with MinGW. The jrk&#8217;s input mode needs to be set to &#8220;Serial&#8221; and the serial mode needs to be set to &#8220;USB Dual Port&#8221; for this code to work. This example is like the previous example except it does the serial communication using Windows-specific functions like CreateFile and WriteFile. See the comments in the source code for more details.</p>

Related Products

Jrk 21v3 USB Motor Controller with Feedback
Jrk 12v12 USB Motor Controller with Feedback
i00600 Torxis Servo 1600 oz.in. 1.5 sec/90 deg
Log In
Pololu Robotics & Electronics
Shopping cart
(702) 262-6648
Same-day shipping, worldwide
Menu
Shop Blog Forum Support
My account Comments or questions? About Pololu Contact Ordering information Distributors