ASMESDC2018
Public Member Functions | Protected Attributes | Friends | List of all members
RCController6CH Class Reference

#include <RCController6CH.h>

Collaboration diagram for RCController6CH:
Collaboration graph
[legend]

Public Member Functions

 RCController6CH (int, void(*)())
 Default constructor. More...
 
 RCController6CH (int, int, int, int, int, int, void(*)())
 Specifying all input channel pins. More...
 
void setupController (void(*)())
 Setup controller pins and timed interrupt to update channels. More...
 
void updateChannels (void)
 Update the channel values. More...
 
void displayChannels (void)
 Display all the current channel values to the serial monitor. More...
 

Protected Attributes

RCController6CHState state
 
RCController6CHPins pins
 
int CH_UPDATE_RATE = CHANNEL_UPDATE_RATE
 

Friends

class OmniRobot
 
class OffenseRobot
 

Detailed Description

Definition at line 50 of file RCController6CH.h.

Constructor & Destructor Documentation

RCController6CH::RCController6CH ( int  ,
void(*)()   
)

Default constructor.

Author
Frederick Wachter
Date
Created: 2018-03-08
RCController6CH::RCController6CH ( int  ,
int  ,
int  ,
int  ,
int  ,
int  ,
void(*)()   
)

Specifying all input channel pins.

Author
Frederick Wachter
Date
Created: 2018-03-08

Member Function Documentation

void RCController6CH::displayChannels ( void  )

Display all the current channel values to the serial monitor.

Author
Frederick Wachter
Date
Created: 2018-03-08

Definition at line 71 of file RCController6CH.cpp.

void RCController6CH::setupController ( void(*)()  )

Setup controller pins and timed interrupt to update channels.

Author
Frederick Wachter
Date
Created: 2018-03-08

Definition at line 39 of file RCController6CH.cpp.

void RCController6CH::updateChannels ( void  )

Update the channel values.

Author
Frederick Wachter
Date
Created: 2018-03-08

Definition at line 51 of file RCController6CH.cpp.

Friends And Related Function Documentation

friend class OffenseRobot
friend

Definition at line 98 of file RCController6CH.h.

friend class OmniRobot
friend

Definition at line 97 of file RCController6CH.h.

Member Data Documentation

int RCController6CH::CH_UPDATE_RATE = CHANNEL_UPDATE_RATE
protected

Definition at line 95 of file RCController6CH.h.

RCController6CHPins RCController6CH::pins
protected

Definition at line 93 of file RCController6CH.h.

RCController6CHState RCController6CH::state
protected

Definition at line 92 of file RCController6CH.h.


The documentation for this class was generated from the following files: