Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## avrora.sim.platform
Class Mica.LED

    java.lang.Object
      avrora.sim.platform.Mica.LED

All Implemented Interfaces:
  Microcontroller.Pin.Output

Enclosing class:
  Mica

protected class Mica.LED
extends java.lang.Object
implements Microcontroller.Pin.Output

Field Summary
`protected java.lang.String` | `color`
`protected int` | `colornum`
`protected boolean` | `initialized`
`protected boolean` | `on`

Constructor Summary
`protected` | `Mica.LED(int n, java.lang.String c)`

Method Summary
`void` | `disableOutput()`
`void` | `enableOutput()`
`void` | `print()`
`void` | `write(boolean level)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### initialized

    protected boolean initialized

### on

    protected boolean on

### colornum

    protected final int colornum

### color

    protected final java.lang.String color

Constructor Detail

### Mica.LED

    protected Mica.LED(int n,
                       java.lang.String c)

Method Detail

### write

    public void write(boolean level)

  Specified by:
    `write` in interface `Microcontroller.Pin.Output`

### print

    public void print()

### enableOutput

    public void enableOutput()

  Specified by:
    `enableOutput` in interface `Microcontroller.Pin.Output`

### disableOutput

    public void disableOutput()

  Specified by:
    `disableOutput` in interface `Microcontroller.Pin.Output`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD