gb.begin

DESCRIPTION

void gb.begin()

gb.begin initializes the Gamebuino. It should be called once at the beginning of the setup() function.

Parameters

none

Returns

none

Example

#include <Gamebuino-Meta.h>

void setup(){
  // initialize the Gamebuino object
  gb.begin();
}

void loop(){
  while(!gb.update());
  gb.display.clear();
  gb.display.println("Hello world");
}