Mirza Mesic
/
mbed_lektion1_v1
855
Revision 0:da5f57a822a5, committed 2019-11-18
- Comitter:
- mirzamesic
- Date:
- Mon Nov 18 18:24:12 2019 +0000
- Commit message:
- 5545
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 Mon Nov 18 18:24:12 2019 +0000 @@ -0,0 +1,16 @@ +#include "mbed.h" + +DigitalOut led(LED1); + + +int main() { + + uint8_t variable = 0; + + led = !led; + printf("Blink! LED is now %d\n", led.read()); + scanf("%d", &variable); + printf("Hello World und der wert der Variable: %d\n",variable); + wait_ms(5); + +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Mon Nov 18 18:24:12 2019 +0000 @@ -0,0 +1,1 @@ +https://os.mbed.com/users/mbed_official/code/mbed/builds/65be27845400 \ No newline at end of file