Skip to content

settings.h

corax89 edited this page Feb 1, 2020 · 1 revision

Settings that may need to be changed.

  • #define ESPBOY

If you are not using ESPboy, remove this line.//#define ESPBOY

  • #define RAM_SIZE 20 * 1024

Maximum memory size available to the games. LGE supports up to 64 kilobytes. For some games, 10 kilobytes is sufficient.

  • #define APPSK "87654321"

Password for game download mode via WiFi

  • #define APSSID "ESPboy"

The name of the access point for downloading games via WIFI. LGE creates an access point to which to connect. To do this, hold down Button B while downloading the device. Follow the on-screen instructions.

  • #define SOUNDPIN -1

Specify here the speaker connection pin. If no speaker is connected, specify -1.

  • #define DEBUG_ON_SCREEN

Show debugging information on the screen (time of frame display, number of operations per second, etc.). The information will be visible only for screens larger than 128x128 and if there is free space on the screen. If no debugging information is needed, this line can be deleted.

  • #define SCREEN_REAL_WIDTH 320

Specify the physical width of your screen in pixels.

  • #define SCREEN_REAL_HEIGHT 240

Specify the physical height of your screen in pixels.

  • #define PARTICLE_COUNT 32

Number of particles, affects the used RAM

  • #define EEPROM_SIZE 512

The size of the memory to save the state of the game. Requires the same amount of RAM.

Clone this wiki locally