Skip to content

unit

モジュール

struct

unit.struct

time

unit.time

クラス定義

Unit

unit.Unit

関数

const

unit.const()

deinit

unit.deinit()

get

unit.get()

portApply

unit.portApply()

定数

ACCEL

unit.ACCEL = tuple(('accel', 255))

ADC

unit.ADC = tuple(('adc', 255))

ANGLE

unit.ANGLE = tuple(('angle', 12))

BUTTON

unit.BUTTON = tuple(('button', 12))

CARDKB

unit.CARDKB = tuple(('cardKB', 255))

COLOR

unit.COLOR = tuple(('color', 255))

DAC

unit.DAC = tuple(('dac', 255))

DUAL_BUTTON

unit.DUAL_BUTTON = tuple(('dual_button', 15))

EARTH

unit.EARTH = tuple(('earth', 15))

ENV

unit.ENV = tuple(('env', 255))

ENV2

unit.ENV2 = tuple(('env2', 255))

EXT_IO

unit.EXT_IO = tuple(('ext_io', 255))

FINGER

unit.FINGER = tuple(('finger', 15))

GPS

unit.GPS = tuple(('gps', 15))

IR

unit.IR = tuple(('ir', 15))

JOYSTICK

unit.JOYSTICK = tuple(('joystick', 255))

LIGHT

unit.LIGHT = tuple(('light', 15))

MAKEY

unit.MAKEY = tuple(('makey', 255))

MLX90640

unit.MLX90640 = tuple(('mlx90640', 15))

NCIR

unit.NCIR = tuple(('ncir', 255))

NEOPIXEL

unit.NEOPIXEL = tuple(('rgb_multi', 3))

PAHUB

unit.PAHUB = tuple(('pahub', 255))

PAHUB0

unit.PAHUB0 = tuple((0, None))

PAHUB1

unit.PAHUB1 = tuple((1, None))

PAHUB2

unit.PAHUB2 = tuple((2, None))

PAHUB3

unit.PAHUB3 = tuple((3, None))

PAHUB4

unit.PAHUB4 = tuple((4, None))

PAHUB5

unit.PAHUB5 = tuple((5, None))

PBHUB

unit.PBHUB = tuple(('pbhub', 255))

PIR

unit.PIR = tuple(('pir', 12))

PORT0

unit.PORT0 = int(3)

PORT1

unit.PORT1 = int(12)

PORTA

unit.PORTA = tuple((32, 33))

PORTHat

unit.PORTHat = tuple((26, 0))

PORT_I2C

unit.PORT_I2C = int(255)

RELAY

unit.RELAY = tuple(('relay', 3))

RFID

unit.RFID = tuple(('rfid', 255))

RGB

unit.RGB = tuple(('rgb', 3))

SERVO

unit.SERVO = tuple(('servo', 3))

TOF

unit.TOF = tuple(('tof', 255))

TRACKER

unit.TRACKER = tuple(('tracker', 255))

WEIGHT

unit.WEIGHT = tuple(('weight', 15))

__file__

unit.__file__ = str('unit.py')

__name__

unit.__name__ = str('unit')

groveUse

unit.groveUse = dict({(26, 0): 0, (32, 33): 255})

unitMap

unit.unitMap = list([])