|
Re: LabVIEW with NXT sensors
P.S.
LabVIEW comes with some examples using the I2C vi's to take input from an NXT compass and an NXT accelerometer.
When you fire up LabVIEW, on the bottom right under "Examples," you'll see "More..."
Click on "More..." and you'll get a list of examples including:
HiTechnic Accel Example
HiTechnic Compass Example
Open one of those up, say the Accel one, and in the Block Diagram you'll see the Accel Open subvi. Double click on that, open the Block Diagram window, and you'll see how the I2C communication is handled.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
|