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
- Committer:
- liam_grazier
- Date:
- 2019-07-25
- Revision:
- 9:e6ab91e70308
- Parent:
- 7:8b1c2d0bee9b
File content as of revision 9:e6ab91e70308:
#include "mbed.h" #include "main.hpp" #include "variables.hpp" #include "trigger.hpp" void donothing(void){ } int main() { loopsw.mode(PullUp); clockin.mode(PullUp); dac.format(8,0); dac.frequency(50000000); pc.baud(115200); allledoff(); updateled(); runonce(); clockin.fall(&firetrig); loopsw.fall(&loopFall); while(1) { //pc.printf("SO %f \n\r",sumoctives); getfaderdata(); gettempodata(); //pc.printf("TEMPO %f \n\r",tempoval); // if(tempoval < 32){ //} //else { // clockin.fall(&donothing); // } } }