FIrst Project

main.cpp

Committer:
akramaliomar
Date:
2021-07-02
Revision:
0:d9079a44db6d

File content as of revision 0:d9079a44db6d:

/* 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;
       
    }
}