|
| Device (char *json, char *jsonPins, char *jsonFunctions) |
|
void | setObj (char *name) |
|
void | addGPIO (char *name, char *GPIOType, char *portName, int pinNumber, int value) |
|
void | appendGPIOs () |
|
void | addFunction (char *name, char *methodName) |
|
void | appendFunctions () |
|
|
char | pinTypes [5][10] = {"out", "in", "analogIn", "analogOut", "pwm"} |
|
◆ addFunction()
void Device::addFunction |
( |
char * | name, |
|
|
char * | methodName ) |
- Parameters
-
name | - the name of theobject |
methodName | - the name of the method to call |
- Returns
- void
◆ addGPIO()
void Device::addGPIO |
( |
char * | name, |
|
|
char * | GPIOType, |
|
|
char * | portName, |
|
|
int | pinNumber, |
|
|
int | value ) |
- Parameters
-
name | - the name of the device |
GPIOType | - the type of the pin: char GPIOTypes[5][10] = {"out", "in", "analogIn", "analogOut", "pwm"}; |
portName | - the name of the Port |
pinNumber | - the pin number |
value | - the status of the pin |
- Returns
- void
◆ appendFunctions()
void Device::appendFunctions |
( |
| ) |
|
◆ appendGPIOs()
void Device::appendGPIOs |
( |
| ) |
|
◆ setObj()
void Device::setObj |
( |
char * | name | ) |
|
- Parameters
-
name | - it is the name of the device |
- Returns
- void
The documentation for this class was generated from the following files:
- C:/Users/flavio_unige/Desktop/semilimes MCU SDK/semilimes/src/device/device.h
- C:/Users/flavio_unige/Desktop/semilimes MCU SDK/semilimes/src/device/device.cpp