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.
Diff: APP_WD_JUDGE.cpp
- Revision:
- 2:71b3736a1bd7
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/APP_WD_JUDGE.cpp Fri Oct 21 10:54:03 2022 +0000 @@ -0,0 +1,39 @@ +#include "mbed.h" +#include "main.h" +#include "nextion_lcd.h" +#include "APP.h" +#include "WORK_START.h" +/////////////////////// +#include "ROBO1_CONT.h" +#include "ROBO2_CONT.h" +#include "ROBO_TWIN_CONT.h" +#include "SAVE_CONT.h" +/////////////////////// +#include "PS3_BT_CTL.h" +///////////////////////// +#include "WD_CONT.h" + +/////////////////////////////////page 5 溶接判定画面の操作////////////////////////////////////// +void WD_JUDGE_PAGE(void){ + + if(touch_id!=0) { + tp_mask=1;//1=タッチパネルマスク + } + + switch (touch_id) { + ////caseはnextion lcdのSWに割り当てられたidを記載する/// + case BT6_CHK_OK : + WD_JUDG_NG_F=0; + //画面を戻す////// + lcd_page_set(P_MAIN,50); + MAIN_PAGE_DISP(); + WD_JUDG_DISP_F=0; + touch_id=0; + break; + } + + if(touch_id==0 && tp_mask==1) { //タッチパネルに割りつけた作業がおわったらセンサ開始再開 + tp_mask=0;//1=タッチパネルマスク + } + +} \ No newline at end of file