mirror of
https://github.com/arendst/Tasmota.git
synced 2026-08-07 09:12:23 -04:00
Berry add tasmota.global
This commit is contained in:
1 parent
86e72bbedd
commit
a21e4a58fc
15 files changed
+2103
-2015
No files matched your search
@@ -17,6 +17,12 @@ end
|
||||
|
||||
tasmota = nil
|
||||
class Tasmota
|
||||
var global # mapping to TasmotaGlobal
|
||||
|
||||
def init()
|
||||
# instanciate the mapping object to TasmotaGlobal
|
||||
self.global = ctypes_bytes_dyn(self._global_addr, self._global_def)
|
||||
end
|
||||
|
||||
# add `chars_in_string(s:string,c:string) -> int``
|
||||
# looks for any char in c, and return the position of the first char
|
||||
|
||||
Reference in new issue
Block a user