gb.setFrameRate

From Gamebuino Wiki
Jump to: navigation, search

Description

Changes how many times per second the program runs.

Syntax

gb.setFrameRate(fps);

Parameters

  • fps (byte): default value is 20 updates/frames per second.

Returns

none

Example

See also