Resistive touch calibration header file.
Copyright (c) 2014-2018 Microchip Technology Inc. and its subsidiaries.
#include <asf.h>
Functions | |
uint32_t | rtouch_calibrate (void) |
Starts the calibration routines and displays user instructions on screen. More... | |
uint32_t rtouch_calibrate | ( | void | ) |
Starts the calibration routines and displays user instructions on screen.
References BGCOLOR, demo_param_t::calib_points, clear_calibration_point(), demo_parameters_commit_changes(), draw_calibration_point(), g_demo_parameters, GFX_COLOR_WHITE, gfx_draw_filled_rect, gfx_draw_string_aligned(), gfx_get_height(), gfx_get_width(), NUM_TOUCH_POINTS, rtouch_calibration_point_struct::raw, rtouch_compute_calibration(), rtouch_get_raw_point, rtouch_wait_pressed(), rtouch_wait_released(), string_calib_done, string_calib_failed, string_calib_instruction, string_calib_name, string_calib_retry, sysfont, TEXT_ALIGN_LEFT, TEXT_POS_CENTER, TXTCOLOR, rtouch_point_struct::x, and rtouch_point_struct::y.
Referenced by main(), and task_win().