STMPE610 touch sensor driver library
Dependents: TS_Eyes Tokei testUniGraphic_150217 AfficheurTFTAdafruit ... more
Diff: SPI_STMPE610.h
- Revision:
- 2:ee910b63c077
- Parent:
- 1:43990f1c0a8b
- Child:
- 3:ead62a9c3d1a
diff -r 43990f1c0a8b -r ee910b63c077 SPI_STMPE610.h --- a/SPI_STMPE610.h Sat Nov 08 06:51:34 2014 +0000 +++ b/SPI_STMPE610.h Sat Nov 08 07:07:23 2014 +0000 @@ -1,8 +1,24 @@ -/** - * STMPE610 Touch Sensor - * +/* mbed SPI_STMPE610.h to test adafruit 2.8" TFT LCD shield w Touchscreen + * Copyright (c) 2014 Motoo Tanaka @ Design Methodology Lab * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + * THE SOFTWARE. */ + /* + * Note: Since the interrupt siganl of the shield was not connected + * to an interrupt pin on my frdm-kl25z, I just used polling mode. + */ + /* + * Note: To make this work with FRDM-K64F + * PTA0 must be disconnected from the swd clk by cutting J11. + * But to re-active SWD you need to put jumper header to J11 + * so that it can be re-connected by a jumper. + */ #ifndef SPI_STMPE610_H #define SPI_STMPE610_H