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

Force Sensor
[HiTechnic]

Files

file  hitechnic-force.h
 

HiTechnic Force Sensor driver.


Defines

#define __HTF_H__

Functions

int HTFreadSensor (tSensors link)
int HTFreadSensor (tMUXSensor muxsensor)

Detailed Description

HiTechnic Force Sensor


Define Documentation

#define __HTF_H__

Definition at line 13 of file hitechnic-force.h.


Function Documentation

int HTFreadSensor ( tSensors  link )

Get the raw value from the sensor

Parameters:
linkthe HTF port number
Returns:
raw value of the sensor
Examples:
hitechnic-force-test1.c.

Definition at line 52 of file hitechnic-force.h.

int HTFreadSensor ( tMUXSensor  muxsensor )

Get the raw value from the sensor

Parameters:
muxsensorthe SMUX sensor port number
Returns:
raw value of the sensor

Definition at line 63 of file hitechnic-force.h.