<< return to Vizycam.com

User Tools

Site Tools


wiki:test

This is an old revision of the document!


Module vizypowerboard

Module docstring

Variables

Variable DIPSWITCH_EXT_BUTTON

docstring for ext_button

Classes

Class VizyPowerBoard

class VizyPowerBoard( addr=20, bus=1 )

This the docstring for VizyPowerBoard

Static methods

Method bcd2decimal
def bcd2decimal( bcd )
Method decimal2bcd
def decimal2bcd( dec )
Method int8
def int8( i )
Method uint16
def uint16( i )
Method uint8
def uint8( i )

Methods

Method button
def button( self )
Method button_click
def button_click( self )
Method button_power_off
def button_power_off( self )
Method buzzer
def buzzer( self, freq, on=250, off=250, count=1, shift=0 )
Method dip_switches
def dip_switches( self, val=None )
Method fan
def fan( self, speed=None )
Method fw_version
def fw_version( self )
Method hw_version
def hw_version( self )
Method io_bits
def io_bits( self, bits=None )
Method io_set_mode
def io_set_mode( self, bit, mode=None )
Method ir_filter
def ir_filter( self, state=None, duration=None )
Method led
def led( self, r=0, g=0, b=0, flashes=0, repeat=False, atten=255, on=100, off=100, pause=200 )
Method led_background
def led_background( self, r, g, b )
Method led_unicorn
def led_unicorn( self, speed=10 )
Method measure
def measure( self, channel )
Method power_off
def 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.

Method power_on_date
def power_on_date( self )
Method power_on_seconds
def power_on_seconds( self, seconds=None )
Method resource_url
def resource_url( self )
Method rtc
def rtc( self )
Method rtc_adjust
def rtc_adjust( self, val=None )
Method rtc_set_system_datetime
def rtc_set_system_datetime( self )
Method status
def status( self )
Method uuid
def uuid( self )
Method vcc12
def vcc12( self, state=None )
Method vcc5
def vcc5( self, state=None )
Method wait_until_not_busy
def wait_until_not_busy( self )

Generated by pdoc 0.9.2 (https://pdoc3.github.io).

wiki/test.1612478582.txt.gz ยท Last modified: 2021/02/04 16:43 by vizycam