modm API documentation
modm::Ads7843< Spi, Cs, Int > Class Template Reference

#include <modm/driver/touch/ads7843.hpp>

Static Public Member Functions

static void initialize ()
 
static bool read (modm::glcd::Point *point)
 
static uint16_t readX ()
 
static uint16_t readY ()
 

Detailed Description

template<typename Spi, typename Cs, typename Int>
class modm::Ads7843< Spi, Cs, Int >

Author
Fabian Greif fabian.greif@rwth-aachen.de

Member Function Documentation

template<typename Spi , typename Cs , typename Int >
static bool modm::Ads7843< Spi, Cs, Int >::read ( modm::glcd::Point point)
static

Get the smoothed (x,y) position.

Parameters
point(x,y) position on the pressed touchscreen
Returns
true if the touchscreen is pressed and the value is stable enough to provide a reading, otherwise false.

The documentation for this class was generated from the following file: