This is a simple app for the Flipper Zero, intended to accompany the Flipper Zero developer tutorials at: instantiator.dev
-
This code runs on therelease
firmware, but hangs on thedev
firmware. I'm working on it.- Issue was twofold:
- I was calling
view_set_context
on each GUI module's views. This is unnecessary, and the various module functions rely on view contexts pointing to the modules. Callback contexts for our callback methods are set using the various module functions (popup_set_context
, andmenu_add_item
). - I was providing static icons (a single frame, no framerate) to the menu - which always animates its icons. Having a framerate of zero results in a division by zero error.
- I was calling
- Issue was twofold:
A lot of the code here is derived from the work I did building the resistance calculator app, and you're welcome to sift through that code and plunder what you need for your own projects.
In turn, that app relies heavily on the patterns provided in Derek Jamison's basic scenes tutorial. Derek has been kindly supporting and debugging my work in the background, and has produced a vast library of valuable learning resources.
This tutorial series would not have been possible without the help and support of various people in the Flipper Zero community. Many thanks to:
- Derek Jamison for the Flipper Zero tutorials repository (in particular, plugins)
- DroomOne for the Flipper Plugin tutorial.
- Chris Hranj (Brodan) for the guide to Flipper Zero components.
If you're interested in developing apps for the Flipper, you should really check out Derek's YouTube channel: @MrDerekJamison