#include "femtoos_code.h"
Include dependency graph for code_TestMinimal.c:
Go to the source code of this file.
Functions | |
void | appLoop_LEDtask (void) |
void | appLoop_SWITCHtask (void) |
Variables | |
volatile Tuint08 | state |
This file is solely for demonstration purposes. |
void appLoop_LEDtask | ( | void | ) |
void appLoop_SWITCHtask | ( | void | ) |
volatile Tuint08 state |
This file is solely for demonstration purposes.
This example is made to demonstrate how small the Femto OS can be. It just runs two tasks. One task reads the status of the switches and copies the result to a variable. The other reads the variable and displays it on the leds. It takes around 600 bytes of flash and 29 bytes of ram.
Definition at line 43 of file code_TestMinimal.c.
Referenced by appLoop_LEDtask(), and appLoop_SWITCHtask().