tim004 tim004
/
LV5-Grupa6-Tim004-zad1
Haris Šemić Josip Kvesić
Revision 0:3458e30e37ff, committed 2014-04-03
- Comitter:
- tim004
- Date:
- Thu Apr 03 14:39:50 2014 +0000
- Commit message:
- LV5-PAI-Grupa6-Tim004
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
mbed.bld | Show annotated file Show diff for this revision Revisions of this file |
diff -r 000000000000 -r 3458e30e37ff main.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Thu Apr 03 14:39:50 2014 +0000 @@ -0,0 +1,24 @@ +#include "mbed.h" + +AnalogOut signal(PTE30); + +int main() +{ + while (1) + { + float i; + + for( i=0.0;i<1.0;i+=0.02) + { + + signal=i/3.3; + wait(0.00007); + + } + + i=0.0; + signal=i/3.3; + wait(0.00005); +} + +} \ No newline at end of file
diff -r 000000000000 -r 3458e30e37ff mbed.bld --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Thu Apr 03 14:39:50 2014 +0000 @@ -0,0 +1,1 @@ +http://world3.dev.mbed.org/users/mbed_official/code/mbed/builds/824293ae5e43 \ No newline at end of file