nanovm.nibo.drivers
Class IrTransceiver

java.lang.Object
  extended by nanovm.nibo.drivers.IrTransceiver

public class IrTransceiver
extends java.lang.Object

Provides methods to send and receive RC5-IR-codes.


Constructor Summary
IrTransceiver()
           
 
Method Summary
static int getCommand()
          Get last received command
static int sendCommand(int command)
          Transmitt command
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IrTransceiver

public IrTransceiver()
Method Detail

getCommand

public static int getCommand()
Get last received command

Returns:
received RC5 code, 0 for no command

sendCommand

public static int sendCommand(int command)
Transmitt command

Parameters:
command - RC5 code to transmitt