Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

DFR0669 Datasheet(PDF) 21 Page - DFROBOT

Part # DFR0669
Description  SKU:DFR0669
PDF  26 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  DFROBOT [DFROBOT]
Direct Link  https://www.dfrobot.com/
Logo DFROBOT - DFROBOT

DFR0669 Datasheet(HTML) 21 Page - DFROBOT

Back Button DFR0669 Datasheet HTML 17Page - DFROBOT DFR0669 Datasheet HTML 18Page - DFROBOT DFR0669 Datasheet HTML 19Page - DFROBOT DFR0669 Datasheet HTML 20Page - DFROBOT DFR0669 Datasheet HTML 21Page - DFROBOT DFR0669 Datasheet HTML 22Page - DFROBOT DFR0669 Datasheet HTML 23Page - DFROBOT DFR0669 Datasheet HTML 24Page - DFROBOT DFR0669 Datasheet HTML 25Page - DFROBOT Next Button
Zoom Inzoom in Zoom Outzoom out
 21 / 26 page
background image
void loop()
{
refresh();
//Serial.println(touch.scan());
}
void refresh() {
DFRobot_UI:: eGesture_t gesture = ui.getGestures();
/*if(gesture != ui.NONE){
Serial.println(gesture);
}
*/
switch (gesture) {
//Gesture detected as zoom out
case ui.SHRINK : {
screen.fillRect(posx - fontLen / 2 -8, posy - fontHeight / 2, 4 * fon
//fontSize decrease
fontSize--;
if (fontSize <= 1) fontSize = 1;
fontHeight = fontSize * 8;
fontLen = 4 * fontSize * 8;
ui.drawString(posx - fontLen / 2-8 , posy - fontHeight / 2, font, fo
}; break;
//Gesture detected as zoom in
case ui.MAGNIFY : {
screen.fillRect(posx - fontLen / 2-8 , posy - fontHeight / 2, 4 * fon
//fontSize increase
fontSize++;
if (fontSize >= 7) fontSize = 7;
fontHeight = fontSize * 8;
fontLen = 4 * fontSize * 8;
ui.drawString(posx - fontLen / 2-8 , posy - fontHeight / 2, font, font
} break;
//Gesture detected as swiping up with two fingers
case ui.DUPGLIDE : {
screen.fillRect(posx - fontLen / 2-8 ,
posy - fontHeight / 2, 4 * fo
posy -= 10 ;
fontHeight = fontSize * 8;
fontLen = 4 * fontSize * 8;
ui.drawString(posx - fontLen / 2 - 8, posy - fontHeight / 2, font, fo
7/7/24, 7:12 PM
3.5”480x320 TFT LCD Capacitive Touchscreen Breakout Wiki - DFRobot
https://wiki.dfrobot.com/3.5inches_480_320_TFT_LCD_Capacitive_Touchscreen_SKU_DFR0669
21/26



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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