Functions
servo.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void servo_advance ()
uint8_t servo_get_latency ()
int16_t servo_get_rem_steps ()
void servo_init (void)
char servo_read ()
void servo_set_direction (const uint8_t)
void servo_set_latency (const uint8_t)
void servo_set_max ()
void servo_set_min ()
void servo_set_neutral ()
void servo_set_rem_steps (const uint8_t)
void servo_set_val (const int8_t, const int8_t)

Detailed Description

Code for servo pwm setup.

Version:
1.0
Author:
Julio Sagardoy

Definition in file servo.h.


Function Documentation

void servo_advance ( )

Definition at line 303 of file servo.c.

uint8_t servo_get_latency ( )

Definition at line 328 of file servo.c.

int16_t servo_get_rem_steps ( )

Definition at line 320 of file servo.c.

void servo_init ( void  )

Inits servo pwm module.

Definition at line 386 of file servo.c.

char servo_read ( )

Returns the current value of the servo position

Definition at line 291 of file servo.c.

void servo_set_direction ( const uint8_t  )

Definition at line 296 of file servo.c.

void servo_set_latency ( const uint8_t  )

Definition at line 324 of file servo.c.

void servo_set_max ( )

Sets servo to its max value, and updates the position register

Definition at line 370 of file servo.c.

void servo_set_min ( )

Sets servo to its min value, and updates the position register

Definition at line 378 of file servo.c.

Sets servo to its neutral value, and updates the position register

Definition at line 362 of file servo.c.

void servo_set_rem_steps ( const uint8_t  )

Definition at line 316 of file servo.c.

void servo_set_val ( const int8_t  target_val,
const int8_t  lat 
)

Sets servo to the desired value, with the desired delay between steps (latency).

Definition at line 335 of file servo.c.



cob_3d_mapping_demonstrator
Author(s): Georg Arbeiter
autogenerated on Wed Aug 26 2015 11:03:46