2021 NHK B
Revision 10:30d3eb684016, committed 2021-10-29
- Comitter:
- piroro4560
- Date:
- Fri Oct 29 23:22:34 2021 +0000
- Parent:
- 9:252dd0bc8f93
- Commit message:
Changed in this revision
ikarashiSV.cpp | Show annotated file Show diff for this revision Revisions of this file |
ikarashiSV.h | Show annotated file Show diff for this revision Revisions of this file |
diff -r 252dd0bc8f93 -r 30d3eb684016 ikarashiSV.cpp --- a/ikarashiSV.cpp Sat Oct 23 03:44:50 2021 +0000 +++ b/ikarashiSV.cpp Fri Oct 29 23:22:34 2021 +0000 @@ -32,6 +32,8 @@ solenoid_status = 2; break; case 0://禅開放 + port_a = 1; + port_b = 0; port_c = 0; port_d = 1; solenoid_status = 0;
diff -r 252dd0bc8f93 -r 30d3eb684016 ikarashiSV.h --- a/ikarashiSV.h Sat Oct 23 03:44:50 2021 +0000 +++ b/ikarashiSV.h Fri Oct 29 23:22:34 2021 +0000 @@ -52,10 +52,10 @@ * @return state を返します */ int state_show(); + int solenoid_status; private: int state; int _state; - int solenoid_status; DigitalOut port_a;//1 下の電磁弁 DigitalOut port_b;// @@ -77,8 +77,8 @@ */ void solenoid(int _state2); void solenoid_show(); + int solenoid_status2; private: - int solenoid_status2; DigitalOut port_e; DigitalOut port_f; };