Sming Framework API
Sming - Open Source framework for high efficiency WiFi SoC ESP8266 native development with C++ language.
NexVariable.h
1 
17 #ifndef __NEXVARRIABLE_H__
18 #define __NEXVARRIABLE_H__
19 
20 #include "NexTouch.h"
21 #include "NexHardware.h"
35 class NexVariable: public NexTouch
36 {
37 public: /* methods */
38 
42  NexVariable(uint8_t pid, uint8_t cid, const char *name);
43 
51  uint32_t getText(char *buffer, uint32_t len);
52 
59  bool setText(const char *buffer);
60 
67  uint32_t getValue(uint32_t *number);
68 
75  bool setValue(uint32_t number);
76 };
82 #endif /* #ifndef __NEXVARRIABLE_H__*/
Definition: NexTouch.h:53
bool setValue(uint32_t number)
uint32_t getValue(uint32_t *number)
Definition: NexVariable.h:35
uint32_t getText(char *buffer, uint32_t len)
bool setText(const char *buffer)
NexVariable(uint8_t pid, uint8_t cid, const char *name)