Search found 7 matches

by jasonlh
08 Jul 2011, 21:23
Forum: Mindstorms Hardware
Topic: NXC: how to calibrate the HT Compass sensor?
Replies: 19
Views: 21169

Re: NXC: how to calibrate the HT Compass sensor?

Glad that helped. Now I'm curious how much the error I was seeing was due to being inside my house too? I'll have to play a bit more with it this weekend. When inside, maybe you could use a "compass" like this! hOB_kH610oI (I thought you might like this after reading some of your posts abo...
by jasonlh
08 Jul 2011, 18:21
Forum: Mindstorms Hardware
Topic: NXC: how to calibrate the HT Compass sensor?
Replies: 19
Views: 21169

Re: NXC: how to calibrate the HT Compass sensor?

Check the bottom of this thread for some NXC code to calibrate your compass. Hope it helps!

http://sourceforge.net/apps/phpbb/mindb ... 96292a8673
by jasonlh
07 Jul 2011, 21:31
Forum: Mindstorms Hardware
Topic: NXC: how to calibrate the HT Compass sensor?
Replies: 19
Views: 21169

Re: NXC: how to calibrate the HT Compass sensor?

From the HiTechnic page http://www.hitechnic.com/cgi-bin/commerce.cgi?preadd=action&key=NMC1034 Calibrating the Compass Sensor The HiTechnic compass sensor will be influenced by local magnetic interference in the same way as any other magnetic compass. Objects such as metal items, motors, batter...
by jasonlh
27 May 2011, 22:44
Forum: Mindstorms Hardware
Topic: iPhone Infrared Remote
Replies: 0
Views: 3231

iPhone Infrared Remote

I purchased the HiTechnic infrared sensor, and last night was testing it out. I works great, and was having fun using it to control a shooter bot. Problem was, I needed to control 3 functions (left/right, up/down, and fire), but my Lego remote (8885) only has 2 functions per each of it's 4 channels....
by jasonlh
22 May 2011, 17:42
Forum: Mindstorms Software
Topic: LEGO Color Sensor RGB raw/scaled vs ColorRed mode [NXC]
Replies: 6
Views: 8846

Re: LEGO Color Sensor RGB raw/scaled vs ColorRed mode [NXC]

Ricardo, it seems to work fine on the little test pad that came with the NXT, as far as following the line and distinguishing the colors at the same time. I cut out the pertinent pieces of code below: unsigned int r[],n[],s[]; int sv, cv; // set sensor type and mode SetSensorType(IN_3, SENSOR_TYPE_C...
by jasonlh
21 May 2011, 06:24
Forum: Mindstorms Software
Topic: LEGO Color Sensor RGB raw/scaled vs ColorRed mode [NXC]
Replies: 6
Views: 8846

Re: LEGO Color Sensor RGB raw/scaled vs ColorRed mode [NXC]

I just got my NXT recently and am working on my first line following bot. :roll: I've gotten it to work pretty well, and using ReadSensorColorEx have been able to read the solid color blocks on the included test pad and pause the bot (just to show it noticed the color), and still get the raw values ...
by jasonlh
12 May 2011, 18:30
Forum: Mindstorms Software
Topic: Bricxcc and firmware test versions
Replies: 69
Views: 52736

Re: Bricxcc and firmware test versions

I installed Bricxcc last night, and was getting this same "Compile/Download Failed Compile Failure." message. I searched, and found this thread, but didn't really see an answer. So I just started trying different options in the Compiler Preferences until I got it working. Unchecking the &q...