AKRAM OMAR
/
GROUP9_PROJECT
FIrst Project
Diff: main.cpp
- Revision:
- 0:d9079a44db6d
diff -r 000000000000 -r d9079a44db6d main.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Fri Jul 02 09:11:57 2021 +0000 @@ -0,0 +1,16 @@ +/* mbed Microcontroller Library + * Copyright (c) 2019 ARM Limited + * SPDX-License-Identifier: Apache-2.0 + */ +#include "mbed.h" + +int main() +{ + // Initialise the digital pin LED1 as an output + DigitalOut led(LED1); + + while (true) { + led = !led; + + } +}