| 전자부품 데이터시트 검색엔진 |
|
DFR0347 데이터시트(PDF) 5 Page - DFROBOT |
|
|
|||||||||||||||||||||||||||||
DFR0347 데이터시트(HTML) 5 Page - DFROBOT |
|
5 / 7 page ![]() Touch screen Smaple code #include <SPI.h> #include <DmTftIli9341.h> #include <DmTouch.h> #include <utility/DmTouchCalibration.h> DmTftIli9341 tft = DmTftIli9341(10,9); DmTouch dmTouch = DmTouch(DmTouch::DM_TFT28_105); DmTouchCalibration calibration = DmTouchCalibration(&tft, &dmTouch); bool calibrated = false; uint16_t x=0, y=0 ; void setup() { dmTouch.setCalibrationMatrix(calibration.getDefaultCalibrationData((int)DmT ouch::DM_TFT28_105)); tft.init(); dmTouch.init(); } void loop() { bool touched = true; if (dmTouch.isTouched()) { dmTouch.readTouchData(x,y,touched);//(x, y) coordinates read contacts calibration.drawCalibPoint(x, y);//In a display of contact } } |
|
|
링크 URL |
| ALLDATASHEET 가 귀하에 도움이 되셨나요? [ DONATE ] |
Alldatasheet는? | 광고문의 | 운영자에게 연락하기 | 개인정보취급방침 | 링크 투 데이터시트 | 링크교환 | 제조사별 검색 All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |