Read N4X PCB Information
t = pcb.info()
Read the I2C memory block and decode.
Returns | Type | Description |
---|---|---|
t |
table | Info table |
t value |
Type | N4X PCB Register |
---|---|---|
.power |
integer | SecondsPowered |
.main |
integer | SecondsMain |
.counter |
integer | WakeupCounter |
.interval |
integer | WakeupInterval |
.wake.bits |
integer | WakeupFlags |
.wake.text |
string | Names of why woken |
.live.bits |
integer | WakeupInputs |
.live.text |
string | Names of current active inputs |
.leds |
integer | LedBits |
.mv |
integer | Millivolt reading at VIN |
.onfor |
integer | PowerTimer |
.duration |
integer | WakeupTime |
.outs |
integer | PowerControl |
.reset.bits |
integer | ControllerStatus |
.reset.text |
string | Decoded reasons for reset |
.temp |
number | Temperature (0.125°C steps) |