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.
Dependencies: mbed SBDBT arrc_mbed
Revision 12:e96b0757577d, committed 2022-04-02
- Comitter:
- gennnisi
- Date:
- Sat Apr 02 06:44:55 2022 +0000
- Parent:
- 11:9ae7fe40a807
- Commit message:
- 4/2
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Thu Mar 31 09:47:57 2022 +0000
+++ b/main.cpp Sat Apr 02 06:44:55 2022 +0000
@@ -174,6 +174,19 @@
count_shot = 0;
}
}
+
+ //装填
+ if(auto_mode == false) {
+ scrp.send1(BeanbagShot_num,10,sb.cross());
+ wait_ms(2);
+ }
+
+ if(auto_mode == true){
+ if(sb.cross() == 1){
+ scrp.send1(TapeLed_num,1,10);
+ wait_ms(2);
+ }
+ }
//農作物回収・設置
if(sb.up() == 1) {