eBoard ๐Ÿ‰  โ‘ โ‘งโ‘จ
Written for SIA 2017/2018
eagle_NanoMot.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void set_motor_speed (optVAL_t spe)
 sets the speed of the main (data pin: EBOARD_NANO_MAIN) motor More...
 
void set_steer_angle (optVAL_t ang)
 sets the angle of the steering (data pin: EBOARD_NANO_STEER) motor More...
 

Function Documentation

◆ set_motor_speed()

void set_motor_speed ( optVAL_t  spe)
inline

sets the speed of the main (data pin: EBOARD_NANO_MAIN) motor

Parameters
spethe speed of the Motor [0;180] 90 means stop

◆ set_steer_angle()

void set_steer_angle ( optVAL_t  ang)
inline

sets the angle of the steering (data pin: EBOARD_NANO_STEER) motor

Parameters
angthe angle of the motor should drive to [0;180]