Difference between revisions of "Reference"

From Gamebuino Wiki
Jump to: navigation, search
m (core: fixed popup() arguments)
(backlight: added note)
Line 78: Line 78:
 
* [[gb.backlight.backlightValue]]
 
* [[gb.backlight.backlightValue]]
 
* [[gb.backlight.ambientLight]]
 
* [[gb.backlight.ambientLight]]
 +
 +
The following should be set using SETTINGS.HEX
 
* [[gb.backlight.backlightMin]] = 0 to 255
 
* [[gb.backlight.backlightMin]] = 0 to 255
 
* [[gb.backlight.backlightMax]] = 0 to 255
 
* [[gb.backlight.backlightMax]] = 0 to 255

Revision as of 2014-05-19T19:34:34

Here is listed and explained all Gamebuino specific functions (the Gamebuino Library).

See Arduino Reference for general purpose/basic functions and data types.

Note: Arguments in italic are optional.

core

User interface :

Perfomance monitor :

buttons

buttons:

BTN_A, BTN_B, BTN_C, BTN_UP, BTN_RIGHT, BTN_DOWN, BTN_LEFT

sound

Play :

Volume :

Build-in sounds :

battery

backlight

The following should be set using SETTINGS.HEX

display

General :

Pixels :

Lines :

Rectangles :

Circles :

Triangles :

Bitmaps :

rotation: NOROT, ROTCCW, ROT180, ROTCW

flip: FLIPH, FLIPV, FLIPVH

Text :

useful constants: LCDWIDTH, LCDHEIGHT, FONTWIDTH, FONTHEIGHT