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

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

All Implemented Interfaces:
  Platform, PlatformFactory

public class Mica
extends java.lang.Object
implements Platform, PlatformFactory

The `Mica` class is an implementation of the `Platform` interface that represents both a specific microcontroller and the devices connected to it. This implementation therefore uses the ATMega128L microcontroller in compatibility mode and uses LED and Radio devices, etc.

Field Summary
`protected Microcontroller` | `mcu`
`protected Simulator` | `sim`

Constructor Summary
`Mica()`

Method Summary
`protected void` | `addDevices()`
`Microcontroller` | `getMicrocontroller()`
`Platform` | `newPlatform(int id, InterpreterFactory f, Program p)`

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

Field Detail

### mcu

    protected final Microcontroller mcu

### sim

    protected final Simulator sim

Constructor Detail

### Mica

    public Mica()

Method Detail

### getMicrocontroller

    public Microcontroller getMicrocontroller()

  Specified by:
    `getMicrocontroller` in interface `Platform`

### newPlatform

    public Platform newPlatform(int id,
                                InterpreterFactory f,
                                Program p)

  Specified by:
    `newPlatform` in interface `PlatformFactory`

### addDevices

    protected void addDevices()

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