Posts Tagged ‘NXC’

EOPD – How to measure distance

Thursday, April 29th, 2010

In this post I will show you how to measure distance with the EOPD sensor. I will explain the math and give you some data and show you how it was analyzed. Equations for calculating distance as well as calibration constants will be presented. Sample code in LEGO Mindstorms NXT-G and NXC. (more…)

WallBot – NXC Version

Wednesday, February 10th, 2010

Here is an NXC version of the HiTechnic WallBot. This program is essentially the same as the NXT-G program from the previous post except it does add one small improvement. This version displays on the NXT screen information such as the raw EOPD value, the processed steering value, and the power that is being used for the two motors. (more…)