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.
main.cpp
- Committer:
- kafka
- Date:
- 2020-10-06
- Revision:
- 0:8217b9bfb66a
- Child:
- 1:0ab6ec2cda59
File content as of revision 0:8217b9bfb66a:
#include "mbed.h"
#include "MyClass.h"
DigitalOut led(LED1);
int main() {
MyClass element1 (23.2);
MyClass element2;
while (1) {
led = !led;
printf("Blink! LED is now %d\n", led.read());
printf("element1 messwert: %lf, element2 messwert: %lf \n", element1.get_wert(), element2.get_wert());
wait_ms(500);
}