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
main.cpp
00001 #include "mbed.h" 00002 #include "main.hpp" 00003 #include "variables.hpp" 00004 #include "trigger.hpp" 00005 void donothing(void){ 00006 } 00007 00008 int main() { 00009 clockin.mode(PullUp); 00010 dac.format(8,0); 00011 dac.frequency(50000000); 00012 pc.baud(115200); 00013 allledoff(); 00014 updateled(); 00015 runonce(); 00016 clockin.fall(&firetrig); 00017 00018 while(1) { 00019 //pc.printf("SO %f \n\r",sumoctives); 00020 getfaderdata(); 00021 gettempodata(); 00022 pc.printf("TEMPO %f \n\r",tempoval); 00023 // if(tempoval < 32){ 00024 //} 00025 //else { 00026 // clockin.fall(&donothing); 00027 // } 00028 } 00029 }
Generated on Sun Jul 17 2022 20:28:39 by
1.7.2