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:
- itbusch
- Date:
- 2022-02-24
- Revision:
- 2:748b731a6136
- Parent:
- 1:d4eec4fcc366
File content as of revision 2:748b731a6136:
/* mbed BuschA */
#include "mbed.h"
#include "Warten.h"
//Initialisiere Ausgangspin und Variable
DigitalOut Boardled(LED1);
DigitalOut Oszi(D3); //Oszi-Pin zur Zeitmessung
int main()
{
while (true)
{
Boardled = 1;
Oszi = 1; //Oszi-Hilfs-Bit = HIGH
Warten(); //UP-Aufruf: Warten
Boardled = 0;
Oszi = 0; //Oszi-Hilfs-Bit = LOW
Warten(); //UP-Aufruf: Warten
}
}