- code examples : This is example code "Hello World" with back button using flipper build tool. flipper build tool doc : https://github.com/flipperdevices/flipperzero-firmware/blob/dev/documentatio
- code examples :
This is example code "Hello World" with back button using flipper build tool.
flipper build tool doc : https://github.com/flipperdevices/flipperzero-firmware/blob/dev/documentation/fbt.md
hello_world.c :
#include <furi.h>
#include <gui/gui.h>
#include <stdlib.h>
#include <gui/elements.h>
#include <input/input.h>
static void render_callback(Canvas* const canvas, void* ctx) {
(void)ctx;
// Clear the canvas
canvas_clear(canvas);
// Set font
canvas_set_font(canvas, FontPrimary);
// Draw the textSign in to view the full prompt.
Sign In