Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: TouchPanel.cpp
- Revision:
- 1:007113101ef7
- Parent:
- 0:e38c94c549f4
--- a/TouchPanel.cpp Tue Jan 28 10:55:53 2014 +0000 +++ b/TouchPanel.cpp Tue Jan 28 13:16:36 2014 +0000 @@ -1,14 +1,3 @@ -/***************************************************************************//** - * @file TouchPanel.cpp - * @brief Implementation of the touch panel driver for the - * TFT color display MI0283QT-9A (320x240). - * @author Mario Poneder - * @date 28/01/2013 -*******************************************************************************/ - -/******************************************************************************/ -/***************************** Include Files **********************************/ -/******************************************************************************/ #include "TouchPanel.h" /***************************************************************************//** @@ -32,9 +21,9 @@ /***************************************************************************//** * @brief Calls the PollPanel method in specified intervals. * - * @param touchCallbackFunction Pointer to the touch callback function, - * which has to take the parameters 'x' and - * 'y' and gets called when a touch was detected. + * @param touchCallbackFunction Pointer to the touch callback function. + * Example prototype: + * @code void TouchCallback(unsigned short x, unsigned short y); @endcode * * @return None. *******************************************************************************/ @@ -87,8 +76,7 @@ /***************************************************************************//** * @brief Alternately reads the touch panel's X or Y coordinate and calls the - * touch callback function, which has to take the parameters - * 'x' and 'y', when a touch was detected. + * touch callback function when a touch was detected. * * @return None. *******************************************************************************/