Atmel Software Framework

compass_calibrate.c File Reference

Sensors Xplained Electronic Compass Calibration Application.

Copyright (c) 2011-2015 Atmel Corporation. All rights reserved.

#include "sensor_demo.h"

Functions

int main (void)
 Main entry of example application. More...
 
static void prompt_user (char *prompt_string)
 User prompt routine. More...
 

static void prompt_user ( char *  prompt_string)
static

User prompt routine.

This routine prompts the user to press the button and then waits for him to do so.

Returns
Nothing.

References ALL_LEDS, clear_screen, delay_ms, gfx_mono_draw_string(), PROMPT_LED, SW1, switch_pressed, and sysfont.

Referenced by main().