Package nxt :: Module sensor :: Class Type

Class Type

source code

object --+
         |
        Type

Namespace for enumeration of the type of sensor

Instance Methods

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables
  NO_SENSOR = 0
  SWITCH = 1
  TEMPERATURE = 2
  REFLECTION = 3
  ANGLE = 4
  LIGHT_ACTIVE = 5
  LIGHT_INACTIVE = 6
  SOUND_DB = 7
  SOUND_DBA = 8
  CUSTOM = 9
  LOW_SPEED = 10
  LOW_SPEED_9V = 11
  HIGH_SPEED = 12
  COLORFULL = 13
  COLORRED = 14
  COLORGREEN = 15
  COLORBLUE = 16
  COLORNONE = 17
  COLOREXIT = 18
Properties

Inherited from object: __class__