![]() |
eBoard ๐
โ โงโจ
Written for SIA 2017/2018
|
[COPY&PASTE] This is the I2CInOut ghost struct :D More...
#include <eBoard.h>
Public Member Functions | |
I2CInOut (SoccerBoard &, optVAL_t, optVAL_t, optVAL_t, optVAL_t) | |
The constructor. More... | |
void | read (void) |
๐ง I prevent errors! More... | |
void | changeAddress (optVAL_t) |
๐ง I prevent errors! More... | |
void | changeModes (optVAL_t, optVAL_t, optVAL_t) |
๐ง I prevent errors! More... | |
void | write (void) |
this will write values stored in B and C More... | |
Public Attributes | |
optVAL_t | A |
storing value for A-pin (๐ง I prevent errors!) More... | |
optVAL_t | B |
storing value for B-pin [MOTOR DIR] More... | |
optVAL_t | C |
storing value for C-pin [MOTOR SPE] More... | |
[COPY&PASTE] This is the I2CInOut ghost struct :D
[COPY&PASTE] You can use this class like this:
I2CInOut::I2CInOut | ( | SoccerBoard & | , |
optVAL_t | , | ||
optVAL_t | , | ||
optVAL_t | , | ||
optVAL_t | |||
) |
The constructor.
|
inline |
๐ง I prevent errors!
|
inline |
๐ง I prevent errors!
|
inline |
this will write values stored in B and C
optVAL_t I2CInOut::A |