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: HIROSE.h
- Revision:
- 9:215d94939bc9
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/HIROSE.h Thu Jan 30 05:24:48 2014 +0000
@@ -0,0 +1,23 @@
+void HIROSE(void const *argument) {
+ float syatei1=0.3f;
+ float syatei2=0.5f;
+ while(1){
+ if(hirose==1){
+ if(psd<syatei1){
+ zen2=1;
+ wait(0.3);
+ zen2=0;
+ }else;
+ if(psd>syatei2){
+ go2=1;
+ wait(0.3);
+ go2=0;
+ }else;
+ wait(1.0);
+ if((hiro==1)&&(dou2==0)){
+ dou2=1;
+ }else;
+ }else;
+ }
+ }
+
\ No newline at end of file