STMPE610 touch sensor driver library
Dependents: TS_Eyes Tokei testUniGraphic_150217 AfficheurTFTAdafruit ... more
Revision 2:ee910b63c077, committed 2014-11-08
- Comitter:
- Rhyme
- Date:
- Sat Nov 08 07:07:23 2014 +0000
- Parent:
- 1:43990f1c0a8b
- Child:
- 3:ead62a9c3d1a
- Commit message:
- unnecessary codes removed from getRAWpoint
Changed in this revision
| SPI_STMPE610.cpp | Show annotated file Show diff for this revision Revisions of this file |
| SPI_STMPE610.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/SPI_STMPE610.cpp Sat Nov 08 06:51:34 2014 +0000 +++ b/SPI_STMPE610.cpp Sat Nov 08 07:07:23 2014 +0000 @@ -1,4 +1,4 @@ -/* mbed SPI_STMPE610.cpp to test adafruit 2.8" TFT LCD shiled w Touchscreen +/* mbed SPI_STMPE610.cpp 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
--- 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