nanovm.nibo.drivers
Class Bot

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

public class Bot
extends java.lang.Object

Gives access to general information about the Nibo robot. You will have to call update first to get actual values.


Constructor Summary
Bot()
           
 
Method Summary
static int getSupplyVoltage()
          get the supply voltage.
static void update()
          update bot data
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Bot

public Bot()
Method Detail

update

public static void update()
update bot data


getSupplyVoltage

public static int getSupplyVoltage()
get the supply voltage.

Returns:
ticks for supply voltage