Classes | Enumerations | Functions | Variables
iotbot Namespace Reference

Classes

struct  ChassisParams
 
class  IOTBot
 
class  IOTShield
 Interface class to IOTShield via UART. More...
 
struct  MotorParams
 

Enumerations

enum  eLighting {
  lightsOff = CMD_LIGHTS_OFF, dimLight = CMD_DIM_LIGHT, beamLight = CMD_HIGH_BEAM, warningLight = CMD_FLASH_ALL,
  flashLeft = CMD_FLASH_LEFT, flashRight = CMD_FLASH_RIGHT, pulsation = CMD_PULSATION, rotation = CMD_ROTATION,
  running = CMD_RUNNING
}
 

Functions

void byteArrayToFloat (int8_t *byteArray, float *floatVar)
 
void floatToByteArray (float *floatVar, int8_t *byteArray)
 
void intToByteArray (uint32_t *iVar, int8_t *byteArray)
 

Variables

const char * devPath = "/dev/ttyS1"
 

Enumeration Type Documentation

◆ eLighting

Enumerator
lightsOff 
dimLight 
beamLight 
warningLight 
flashLeft 
flashRight 
pulsation 
rotation 
running 

Definition at line 62 of file IOTShield.h.

Function Documentation

◆ byteArrayToFloat()

void iotbot::byteArrayToFloat ( int8_t *  byteArray,
float *  floatVar 
)

Definition at line 9 of file IOTShield.cpp.

◆ floatToByteArray()

void iotbot::floatToByteArray ( float *  floatVar,
int8_t *  byteArray 
)

Definition at line 18 of file IOTShield.cpp.

◆ intToByteArray()

void iotbot::intToByteArray ( uint32_t *  iVar,
int8_t *  byteArray 
)

Definition at line 24 of file IOTShield.cpp.

Variable Documentation

◆ devPath

const char* iotbot::devPath = "/dev/ttyS1"

Definition at line 30 of file IOTShield.cpp.



iotbot
Author(s): Stefan May (EduArt Robotik)
autogenerated on Wed May 24 2023 02:13:39