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.
Dependencies: mbed
main.cpp
- Committer:
- henririgby98
- Date:
- 2019-03-25
- Revision:
- 1:c9d346de3a66
- Parent:
- 0:74eb154adcb3
- Child:
- 2:794ed187ffcd
File content as of revision 1:c9d346de3a66:
/* ELEC2645
Embedded Systems Project
School of Electronic & Electrical Engineering
University of Leeds
Name: Henri Rigby
Username: henririgby98
Student ID Number: 201198821
Date: 18/03/2019
*/
#include "mbed.h"
DigitalOut gpo(D0);
DigitalOut led(LED_RED);
int main()
{
while (true) {
gpo = !gpo; // toggle pin
led = !led; // toggle led
wait(0.2f);
}
}