Skip to content

Latest commit

 

History

History
65 lines (44 loc) · 2.15 KB

examples.md

File metadata and controls

65 lines (44 loc) · 2.15 KB

Examples

Back to README

Mia is bundled together with multiple App Modules. One of these is the example app "ex".

The examples are all single self-contained source files and act as tutorials.

Live Demo

Check out the compiled live web demo while surfing through the files! logo

List of examples

Please follow the examples one by one to get to learn the basic concepts of mia :)

To create your own stuff, use the src/main.c entry point

Tea timer app

tea

Single file and well documented mini app. tea.c

Here's the tea timer web app

And here's the tea timer android app

Thunder app

Plays one if a few thunder sound effects on a button press.

I once dressed for helloween as a thunder. My wife as a lightning using some led's. And my costume had a bluetooth speaker together with this app for thunder effects :D

thunder.c

Disabling example compilation

For production, you can disable the examples app (and all other App Modules) in the CMakeLists.txt file

Back to README