Click here to Skip to main content
12,621,744 members (37,811 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: C# C#4.0
i'm sayed newbie C# user
i cant find library to use compass module in c#(sharp develop)?
can you tell me how to use compass module in C#(sharp develop)?
compass module(cmps03)
Posted 19-Nov-12 4:54am

1 solution

Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

The Robot Electronics people have a driver library for that module on their examples page: http://www.robot-electronics.co.uk/acatalog/examples.html[^] However, it is in Visual Studio 2008 which may take some work to get converted to VS2012.

Note however, that the module uses the I2C interface bus to communicate information. You can't directly read I2C on a PC... you will need an interface module. Robot Electronics has a couple that will connect a USB port to the I2C bus. Their libraries will need included in your project (see their help files) and you should be able to make the calls to get the information you want.

Their stuff looks a little aged though. If your interest is hardware/software, you might want to look at the .NET Gadgeteer platform (http://www.netmf.com/gadgeteer/[^]). The hardware is much more "plug-n-play" and there is a big user community. For a newbie, it would probably be a better choice.
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.161128.1 | Last Updated 19 Nov 2012
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100