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:40af101f9b7b, committed 2015-04-02
- Comitter:
- pai2015irmakarasofti
- Date:
- Thu Apr 02 15:36:22 2015 +0000
- Commit message:
- LV5-Grupa6-Zadatak2-Tim010
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 02 15:36:22 2015 +0000 @@ -0,0 +1,22 @@ +#include "mbed.h" + +#define dp23 P0_0 + + +PwmOut pwm(dp18); +AnalogIn potmet(dp9); + + +int main() { + + wait(0.05); + pwm.period_us(50); + + while(1){ + //ako ne bude radilo vidjeti sa funkcijom write + //provjeriti sa ass da li treba brojač + pwm = potmet; + + } + +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Thu Apr 02 15:36:22 2015 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/mbed_official/code/mbed/builds/487b796308b0 \ No newline at end of file