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.
Dependents: NerfUS_cmake_add_library_from_mbed NerfUS NerfUSGameCoordinator
source/MbedBlinker.cpp
- Committer:
- Maxime Dupuis
- Date:
- 2017-02-16
- Revision:
- 1:001a600870d9
- Parent:
- 0:e67c78f2b4f4
File content as of revision 1:001a600870d9:
#include "HardwareInterfaceLPC1768.hpp"
HardwareInterfaceLPC1768::HardwareInterfaceLPC1768(DigitalOut led) :
led(led)
{
}
void HardwareInterfaceLPC1768::blink()
{
led = 1;
wait(0.5);
led = 0;
wait(0.5);
}