CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

linear interpolation

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
Pichuqy_1



Joined: 03 Aug 2010
Posts: 38

View user's profile Send private message MSN Messenger

linear interpolation
PostPosted: Tue Feb 15, 2011 4:07 pm     Reply with quote

Hello everyone. I need to do a linear interpolation to use with the sensor HM55B. Order to calculate the angle with more precisciĆ³n. Someone knows a routine with which can I started?
temtronic



Joined: 01 Jul 2010
Posts: 9246
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Tue Feb 15, 2011 4:28 pm     Reply with quote

Google came up with info at the parallaxx website for basic stamps, you could recode it.
Pichuqy_1



Joined: 03 Aug 2010
Posts: 38

View user's profile Send private message MSN Messenger

PostPosted: Tue Feb 15, 2011 4:34 pm     Reply with quote

I'm trying but it is very difficult. I have done in C file "CalibrateHm55bCompass.bs2" but I can not make the file "TestCalibratedHM55BCompass.bs2" because I can not understand the part of the linear interpolation. Can someone help me?
temtronic



Joined: 01 Jul 2010
Posts: 9246
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Tue Feb 15, 2011 4:48 pm     Reply with quote

I had a look at the programs and they are well documented, but I feel English is not your native language.
Sorry but I do not have a compass module here, although I do have several Basic Stamps from years ago, so I can't easily convert the code and then check that it is correct.
If you have a basic stamp or know someone locally you could both work on it and see what is required to make the correct code.That way you can test the basic code, get familiar with the compass module and test your C code as well.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group