This is an old revision of the document!
Return a supported CUBLOC system status value.
from cubloc import Sys Sys(address: int)
address (0 to 255).
Return a supported CUBLOC system status value. Sys(0) returns the most recent actual UART write count. Sys(1) returns the most recent actual UART read count. Sys(2) and Sys(3) return 0 because the vendor docs mark them unused. Sys(4) returns 1 while an EEPROM byte write is in progress, otherwise 0. Sys(5) returns a 10 ms timer that wraps at 65535. Sys(6) returns micropython.stack_use().
address is not an integer.address is outside 0 to 255.address is not supported by this implementation.from cubloc import Sys # Example usage result = Sys(1) print(result)