Difference between revisions of "Reference"
From Gamebuino Wiki
m (→battery) |
m |
||
Line 40: | Line 40: | ||
* [[gb.sound.playCancel]]() | * [[gb.sound.playCancel]]() | ||
* [[gb.sound.playTick]]() | * [[gb.sound.playTick]]() | ||
+ | |||
+ | == battery == | ||
+ | |||
+ | * [[gb.battery.getVoltage]]() | ||
+ | * [[gb.battery.getLevel]]() | ||
+ | |||
+ | == backlight == | ||
+ | |||
+ | * [[gb.backlight.set]]() | ||
+ | * [[gb.backlight.setAuto]]() | ||
</div><div style="float:left;width:20em;margin-right:2em;"> | </div><div style="float:left;width:20em;margin-right:2em;"> | ||
Line 86: | Line 96: | ||
* [[gb.display.setTextWrap]]() | * [[gb.display.setTextWrap]]() | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</div> | </div> |
Revision as of 2013-10-27T05:00:45
core
User interface :
- gb.menu()
- gb.keyboard()
Perfomance monitor :
buttons
- gb.buttons.pressed()
- gb.buttons.released()
- gb.buttons.held()
- gb.buttons.repeat()
- gb.buttons.timeHeld()
sound
Play :
Volume :
- gb.sound.setGlobalVolume()
- gb.sound.getGlobalVolume()
- gb.sound.setChannelVolume()
- gb.sound.getChannelVolume()
Build-in sounds :
battery
backlight
display
General :
Pixel :
Lines :
Rectangles :
Circles :
- gb.display.drawCircle()
- gb.display.drawCircleHelper()
- gb.display.fillCircle()
- gb.display.fillCircleHelper()
Triangles :
Bitmaps :
Text :
- gb.display.drawChar()
- gb.display.print()
- gb.display.setCursor()
- gb.display.setTextColor()
- gb.display.setTextSize()
- gb.display.setTextWrap()