semilimes mcu sdk 0.1
semilimes Software Development Kit for microcontrollers
Loading...
Searching...
No Matches
FcSwitch Class Reference

Public Member Functions

 FcSwitch (char *json)
 
void setObj (char *refname, char *title, bool value)
 

Constructor & Destructor Documentation

◆ FcSwitch()

FcSwitch::FcSwitch ( char * json)
inline
Parameters
json- it is the char array that will contain the whole json script
Returns
void

Member Function Documentation

◆ setObj()

void FcSwitch::setObj ( char * refname,
char * title,
bool value )
Parameters
refname- it is the reference name of the object
title- is the text displayed next to the switch
value- is the default value of the switch when creating and the selected value when submitting
Returns
void

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