Class: Tri

Tri()

Class representing a single trit as an object with 3 possible states. Default state is off

Constructor

new Tri()

Properties:
Name Type Description
state number the state of the Tri. Must be -1, 0, or 1
Source:

Methods

setState(state)

Set a Tri to one of the three valid states
Parameters:
Name Type Description
state number the state to set the Tri to. Must be -1, 0, or 1
Source: