Basic Hello World

Displays Hello World! on a Gecko OS terminal.

API Features Demonstrated

This demonstrates the basic structure of a Gecko OS app.

Platforms

This app works on:

Requirements and Prerequisites

Requires a Gecko OS evaluation board, such as a WGM160P_eval.

Description

This app prints the text Hello world!! to the log bus which can be viewed on a Gecko OS terminal.

See Application Development, Gecko OS Application Structure.

gos_app_init

Initialization. Logs a line of text. No events are set up. With no events to process the next function executed is gos_app_idle.

gos_app_idle

Event loop idle handling. In this case returns FALSE so the app exits after executing gos_app_deinit.

gos_app_deinit

Cleanup prior to exit. In this case does nothing.

Source

See: