David Fletcher / Mbed 2 deprecated CC3000WebServer

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

HAL_Wheel

HAL_Wheel

Functions

void Wheel_init (void)
 Set up the wheel.
uint8_t Wheel_getPosition (void)
 Determine the wheel's position.
uint16_t Wheel_getValue (void)
 Determine the raw voltage value across the potentiometer.
void Wheel_disable (void)
 Disable wheel.
void Wheel_enable (void)
 Enable wheel.

Function Documentation

void Wheel_disable ( void   )

Disable wheel.

Parameters:
None
Returns:
none

Definition at line 146 of file Wheel.cpp.

void Wheel_enable ( void   )

Enable wheel.

Parameters:
None
Returns:
none

Definition at line 160 of file Wheel.cpp.

uint8_t Wheel_getPosition ( void   )

Determine the wheel's position.

Parameters:
None
Returns:
Wheel position (0~7)

Definition at line 85 of file Wheel.cpp.

uint16_t Wheel_getValue ( void   )

Determine the raw voltage value across the potentiometer.

Parameters:
None
Returns:
Value

Definition at line 106 of file Wheel.cpp.

void Wheel_init ( void   )

Set up the wheel.

Parameters:
None
Returns:
None

Definition at line 61 of file Wheel.cpp.