myWRIO
C++ framework for NationalInstruments myRIO
main.cpp File Reference
#include "MyRIO.h"
#include <math.h>

Go to the source code of this file.

Functions

double map (double x, double in_min, double in_max, double out_min, double out_max)
 
int main ()
 

Function Documentation

◆ main()

int main ( )

This loop ensures that the motors are currently to the target speed using the encoder, and correct them.

Examples
example_acc.cpp, example_aio.cpp, example_blink.cpp, example_log.cpp, example_motor_pid_encoder.cpp, example_pwm.cpp, project_angle.cpp, project_car.cpp, and project_pendulum.cpp.

Definition at line 11 of file main.cpp.

◆ map()

double map ( double  x,
double  in_min,
double  in_max,
double  out_min,
double  out_max 
)
Examples
example_acc.cpp, project_angle.cpp, project_car.cpp, and project_pendulum.cpp.

Definition at line 7 of file main.cpp.