Mindstorms 3rd Party ROBOTC Drivers RobotC
[Home] [Download] [Submit a bug/suggestion] [ROBOTC Forums] [Blog] [Support this project]
Functions | Variables

hitechnic-magfield.h File Reference

HiTechnic Magnetic Field Sensor driver. More...

#include "common.h"

Go to the source code of this file.

Functions

int HTMAGreadVal (tSensors link)
int HTMAGreadRaw (tSensors link)
int HTMAGstartCal (tSensors link)
int HTMAGreadCal (tSensors link)
void HTMAGsetCal (tSensors link, int bias)
int HTMAGreadVal (tMUXSensor muxsensor)
int HTMAGreadRaw (tMUXSensor muxsensor)
int HTMAGstartCal (tMUXSensor muxsensor)
int HTMAGreadCal (tMUXSensor muxsensor)
void HTMAGsetCal (tMUXSensor muxsensor, int bias)

Variables

int HTMAG_bias [][]

Detailed Description

HiTechnic Magnetic Field Sensor driver.

hitechnic-magfield.h provides an API for the HiTechnic Magnetic Field Sensor.

Changelog:

Credits:

License: You may use this code as you wish, provided you give credit where its due.

THIS CODE WILL ONLY WORK WITH ROBOTC VERSION 3.59 AND HIGHER.

Author:
Xander Soldaat (xander_at_botbench.com)
Date:
27 July 2010
Version:
0.1

Definition in file hitechnic-magfield.h.