Documentation
¶
Index ¶
- func ClearBit(n, pos byte) byte
- func ConvertTo8BitBinaryString(num byte) string
- func HasBit(n, pos byte) bool
- func I2C()
- func I2C_find()
- func I2C_scan(bus byte) ([]byte, error)
- func SetBit(n, pos byte) byte
- func ToggleBit(n, pos byte) byte
- func WebStart()
- type DBx
- func (t *DBx) BucketDel(bucket string)
- func (t *DBx) BucketGet(bucket string) map[string]string
- func (t *DBx) Close() error
- func (t *DBx) Del(bucket, key string)
- func (t *DBx) Get(bucket, key string) (val string, ok bool)
- func (t *DBx) Init() error
- func (t *DBx) PrepareValue(a ...interface{}) string
- func (t *DBx) PrepareValues(a ...interface{}) []string
- func (t *DBx) Set(bucket, key, val string)
- type I2Cx
- type I2Cx_bit
- type I2Cx_bits
- type I2Cx_input_state
- type Reference
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DBx ¶
type DBx struct { File string // contains filtered or unexported fields }
func (*DBx) PrepareValue ¶
func (*DBx) PrepareValues ¶
type I2Cx ¶
type I2Cx struct { Bus byte Addr byte AddrHex string Device *i2c.Device InputState [8]I2Cx_input_state OutputState byte }
func I2C_create ¶
func (*I2Cx) ChangeState ¶
func (t *I2Cx) ChangeState()
func (*I2Cx) RestoreState ¶
type I2Cx_bits ¶
type I2Cx_bits []I2Cx_bit
func I2C_explode_to_bits ¶
func I2C_explode_to_bits() I2Cx_bits
type I2Cx_input_state ¶
Click to show internal directories.
Click to hide internal directories.