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.
Revision 0:17c55d1adc77, committed 2014-04-03
- Comitter:
- tim007
- Date:
- Thu Apr 03 17:52:30 2014 +0000
- Commit message:
- Zadatak1-LV5-Grupa7-Tim7
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 |
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Thu Apr 03 17:52:30 2014 +0000 @@ -0,0 +1,23 @@ +#include "mbed.h" + +AnalogOut izlaz(PTE30); +double korak=0.01; +double napon; +double koraci; +Ticker otk; +int broj=0; + +void funk() +{ + napon=(1.0/3.3); + koraci=(1-korak*broj); + izlaz=napon*koraci; + broj++; + if(broj>44) + { + broj=0; + } +} +int main() { + otk.attach_us(&funk,50); +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Thu Apr 03 17:52:30 2014 +0000 @@ -0,0 +1,1 @@ +http://world3.dev.mbed.org/users/mbed_official/code/mbed/builds/824293ae5e43 \ No newline at end of file