This is an old revision of the document!
Module docstring
DIPSWITCH_EXT_BUTTON
docstring for ext_button
VizyPowerBoard(addr=20, bus=1)
This the docstring for VizyPowerBoard
bcd2decimal(bcd)
:
decimal2bcd(dec)
:
int8(i)
:
uint16(i)
:
uint8(i)
:
button(self)
:
button_click(self)
:
button_power_off(self)
:
buzzer(self, freq, on=250, off=250, count=1, shift=0)
:
dip_switches(self, val=None)
:
fan(self, speed=None)
:
fw_version(self)
:
hw_version(self)
:
io_bits(self, bits=None)
:
io_set_mode(self, bit, mode=None)
:
ir_filter(self, state=None, duration=None)
:
led(self, r=0, g=0, b=0, flashes=0, repeat=False, atten=255, on=100, off=100, pause=200)
:
led_background(self, r, g, b)
:
led_unicorn(self, speed=10)
:
measure(self, channel)
:
power_off(self, t=5000)
Initiate powering off of device. Setting t (milliseconds) will delay that amount before switching off to give the system time to shut down resources.
power_on_date(self)
:
power_on_seconds(self, seconds=None)
:
resource_url(self)
:
rtc(self)
:
rtc_adjust(self, val=None)
:
rtc_set_system_datetime(self)
:
status(self)
:
uuid(self)
:
vcc12(self, state=None)
:
vcc5(self, state=None)
:
wait_until_not_busy(self)
: