Flipper Zero SimulatorDismantle, inspect and operate the device.
Interactive lab
Loading the Blender model…
0/50
Compile a counter app and watch it run on the model.
Module: Wireless and system
An FAP is an ELF loaded from the SD card. The counter below runs live on the 3D LCD: OK increments, Back resets.
Apps can also use the Video Game Module: its RP2040 mirrors the display and reads a 6-axis IMU for motion games.
static void draw(Canvas* c, void* ctx) {
App* a = ctx; char s[16];
snprintf(s, sizeof(s), "%d", a->n);
canvas_draw_str_aligned(c, 64, 32, AlignCenter, AlignCenter, s);
}
An FAP file is…
← 46. Firmware architecture · All lessons · 48. Power management →
Try it yourself
l47_writing_an_external_ap.c
static void draw(Canvas* c, void* ctx) {
App* a = ctx; char s[16];
snprintf(s, sizeof(s), "%d", a->n);
canvas_draw_str_aligned(c, 64, 32, AlignCenter, AlignCenter, s);
}