NHK2021_ikarashiSolenoidValve
Dependents: NHK2021_ikarashiSV_code NHK2021_ikarashiSV_code_withservo 2021NHK_B_syudo
Diff: ikarashiSV.cpp
- Revision:
- 5:1ef248a66820
- Parent:
- 4:6d421db6e727
- Child:
- 6:256162828e87
--- a/ikarashiSV.cpp Thu Oct 21 16:06:55 2021 +0000 +++ b/ikarashiSV.cpp Thu Oct 21 16:10:22 2021 +0000 @@ -27,8 +27,6 @@ //戻る port_c = 1; port_d = 0; - //wait(0.3); - port_a = 1; port_b = 0; solenoid_status = 0; @@ -47,10 +45,10 @@ printf("1:push\n\r"); break; case 2: - printf("\t2:push\n\r"); + printf("1:pull\n\r"); break; case 0: - printf("1:pull 2:pull\n\r"); + printf("1:open\n\r"); break; } }