Examples

From Arctic Core - the open source AUTOSAR embedded platform

Jump to: navigation, search

This page contains a listing and some brief overviews of the code examples included in the Arctic Core source.

Contents

Simple

Source location:

examples/simple

An example showing the basics in setting up the OS.

Blinker

Source location:

examples/blinker_node
components/blinker

Shows GPIO manipulation. Functionality is implemented as a component, through a minimal RTE.

PWM

Source location:

examples/pwm_node
components/pwm_sine

Shows basic PWM operation. Functionality is implemented as a component, through a minimal RTE.

Fader

Source location:

examples/pwm_node2
components/fading_led

Receives values over CAN and sets the fade level of a led accordingly, using PWM. Functionality is implemented as a component, through a minimal RTE.

Switches

Source location:

examples/blinker_node
components/blinker

Reads an "up" and a "down" switch using ADC and DMA and sends an accumulated value over CAN. Functionality is implemented as a component, through a minimal RTE.