| 数据搜索系统,热门电子元器件搜索 |
|
SEN0202 数据表(PDF) 5 Page - DFROBOT |
|
|
|||||||||||||||||||||||||||||
SEN0202 数据表(HTML) 5 Page - DFROBOT |
|
5 / 6 page ![]() 25 switch(cmd) 26 { 27 case GI_FLICK_R: 28 Serial.println("RIGHT"); 29 break; 30 case GI_FLICK_L: 31 Serial.println("LEFT"); 32 break; 33 case GI_FLICK_D: 34 Serial.println("DOWN"); 35 break; 36 case GI_FLICK_U: 37 Serial.println("UP"); 38 break; 39 case GI_AIRWHEEL_CW://Clockwise in circles 40 Serial.println("CW"); 41 break; 42 case GI_AIRWHEEL_CCW://Counterclockwise circles 43 Serial.println("CCW"); 44 break; 45 46 default: break; 47 } 48 } 49 } 50 else {}; 51 } Results Use your hand to move up and down or clockwise and counterclockwise, the serial port will output the corresponding string. |
|
|
链接网址 |
| 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 |