Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
APP_WD_JUDGE.cpp@2:71b3736a1bd7, 2022-10-21 (annotated)
- Committer:
- js
- Date:
- Fri Oct 21 10:54:03 2022 +0000
- Revision:
- 2:71b3736a1bd7
test
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
js | 2:71b3736a1bd7 | 1 | #include "mbed.h" |
js | 2:71b3736a1bd7 | 2 | #include "main.h" |
js | 2:71b3736a1bd7 | 3 | #include "nextion_lcd.h" |
js | 2:71b3736a1bd7 | 4 | #include "APP.h" |
js | 2:71b3736a1bd7 | 5 | #include "WORK_START.h" |
js | 2:71b3736a1bd7 | 6 | /////////////////////// |
js | 2:71b3736a1bd7 | 7 | #include "ROBO1_CONT.h" |
js | 2:71b3736a1bd7 | 8 | #include "ROBO2_CONT.h" |
js | 2:71b3736a1bd7 | 9 | #include "ROBO_TWIN_CONT.h" |
js | 2:71b3736a1bd7 | 10 | #include "SAVE_CONT.h" |
js | 2:71b3736a1bd7 | 11 | /////////////////////// |
js | 2:71b3736a1bd7 | 12 | #include "PS3_BT_CTL.h" |
js | 2:71b3736a1bd7 | 13 | ///////////////////////// |
js | 2:71b3736a1bd7 | 14 | #include "WD_CONT.h" |
js | 2:71b3736a1bd7 | 15 | |
js | 2:71b3736a1bd7 | 16 | /////////////////////////////////page 5 溶接判定画面の操作////////////////////////////////////// |
js | 2:71b3736a1bd7 | 17 | void WD_JUDGE_PAGE(void){ |
js | 2:71b3736a1bd7 | 18 | |
js | 2:71b3736a1bd7 | 19 | if(touch_id!=0) { |
js | 2:71b3736a1bd7 | 20 | tp_mask=1;//1=タッチパネルマスク |
js | 2:71b3736a1bd7 | 21 | } |
js | 2:71b3736a1bd7 | 22 | |
js | 2:71b3736a1bd7 | 23 | switch (touch_id) { |
js | 2:71b3736a1bd7 | 24 | ////caseはnextion lcdのSWに割り当てられたidを記載する/// |
js | 2:71b3736a1bd7 | 25 | case BT6_CHK_OK : |
js | 2:71b3736a1bd7 | 26 | WD_JUDG_NG_F=0; |
js | 2:71b3736a1bd7 | 27 | //画面を戻す////// |
js | 2:71b3736a1bd7 | 28 | lcd_page_set(P_MAIN,50); |
js | 2:71b3736a1bd7 | 29 | MAIN_PAGE_DISP(); |
js | 2:71b3736a1bd7 | 30 | WD_JUDG_DISP_F=0; |
js | 2:71b3736a1bd7 | 31 | touch_id=0; |
js | 2:71b3736a1bd7 | 32 | break; |
js | 2:71b3736a1bd7 | 33 | } |
js | 2:71b3736a1bd7 | 34 | |
js | 2:71b3736a1bd7 | 35 | if(touch_id==0 && tp_mask==1) { //タッチパネルに割りつけた作業がおわったらセンサ開始再開 |
js | 2:71b3736a1bd7 | 36 | tp_mask=0;//1=タッチパネルマスク |
js | 2:71b3736a1bd7 | 37 | } |
js | 2:71b3736a1bd7 | 38 | |
js | 2:71b3736a1bd7 | 39 | } |