Tina Dokic
/
TINF-ue2--06-10-2020
TINF-06-10-2020
Revision 0:aaf0e1fabb9c, committed 2020-10-06
- Comitter:
- tina_dokic
- Date:
- Tue Oct 06 16:51:48 2020 +0000
- Commit message:
- TINF
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 Tue Oct 06 16:51:48 2020 +0000 @@ -0,0 +1,41 @@ +#include "mbed.h" + + + +class MyClassA { +public: + MyClassA(int x, bool wahr) : _x(x), _wahr(wahr) + { + + } + + void status() + { + printf("%d,%d\n",_x, _wahr); + } + int getx(void) + { + return _x; + + } +private: + int _x; + bool _wahr; + +}; + +MyClassA myClass(5,1); + +int main() +{ + + while(1) + { + myClass.status(); + wait_ms(500); + } + + + + +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Tue Oct 06 16:51:48 2020 +0000 @@ -0,0 +1,1 @@ +https://os.mbed.com/users/mbed_official/code/mbed/builds/65be27845400 \ No newline at end of file