NHK2021_ikarashiSolenoidValve
Dependents: NHK2021_ikarashiSV_code NHK2021_ikarashiSV_code_withservo 2021NHK_B_syudo
Diff: ikarashiSV.cpp
- Revision:
- 6:256162828e87
- Parent:
- 5:1ef248a66820
- Child:
- 7:58da8ee2b38d
--- a/ikarashiSV.cpp Thu Oct 21 16:10:22 2021 +0000 +++ b/ikarashiSV.cpp Fri Oct 22 06:36:52 2021 +0000 @@ -21,7 +21,7 @@ port_b = 1; port_c = 0; port_d = 1; - solenoid_status = 2; + solenoid_status = 1; break; case 2: //戻る @@ -29,11 +29,12 @@ port_d = 0; port_a = 1; port_b = 0; - solenoid_status = 0; + solenoid_status = 2; break; case 0://禅開放 port_c = 0; port_d = 1; + solenoid_status = 0; break; } }