Microchip® Advanced Software Framework

rtouch_calibrate.h File Reference

Resistive Touch driver.

Copyright (c) 2011-2018 Microchip Technology Inc. and its subsidiaries.

#include "compiler.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.

Returns
0 if calibration is successful, else 1.

References clear_calibration_point(), draw_calibration_point(), rtouch_calibration_point_struct::raw, rtouch_compute_calibration(), rtouch_get_raw_point, rtouch_wait_pressed(), rtouch_wait_released(), rtouch_point_struct::x, and rtouch_point_struct::y.

Referenced by main().