Other devices

The Battery device makes it possible to get the current battery level.

  myBattery = Battery.new();

In TriBot.u :

  battery = Battery.new();

The Beeper device makes it possible to emit customized beeps from the NXT speaker.

  myBeeper = Beeper.new();

In TriBot.u :

  beeper  = Beeper.new();