.X()

back to FEHAccel

Description

Returns the forces acting on the x-axis of the Proteus

Parameters

None

Returns

A double corresponding to the forces acting on the x-axis of the Proteus (in g’s)

Examples

#include <FEHAccel.h>
#include <FEHLCD.h>

int main(void)
{
    //print x acceleration to screen
    LCD.WriteLine(Accel.X());      
}