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.
ZENGO.h
00001 void ZENGO1(void const *argument) { 00002 Asi1.period(0.0001); 00003 while(true){ 00004 if(go1==1){ 00005 Asi1.pulsewidth(0.00009f); 00006 } 00007 else if(zen1==1){ 00008 Asi1.pulsewidth(0.00001f); 00009 } 00010 else{ 00011 Asi1.pulsewidth(0.00005f); 00012 } 00013 } 00014 } 00015 00016 void ZENGO2(void const *argument) { 00017 Asi2.period(0.0001); 00018 while(true){ 00019 if(zen2==1){ 00020 Asi2.pulsewidth(0.00009f); 00021 } 00022 else if(go2==1){ 00023 Asi2.pulsewidth(0.00001f); 00024 } 00025 else{ 00026 Asi2.pulsewidth(0.00005f); 00027 } 00028 } 00029 }
Generated on Thu Jul 21 2022 17:34:30 by
1.7.2