TINF_BankomatPIN
Diff: main.cpp
- Revision:
- 0:465c627254e2
diff -r 000000000000 -r 465c627254e2 main.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Fri Jun 22 13:56:38 2018 +0000 @@ -0,0 +1,23 @@ +#include "mbed.h" +#include "Bankomat.h" + +Bankomat bankcode(LED1,LED2,LED3,LED4); + +int main() +{ +printf("PIN wird erstellt!\n\n"); + wait_ms(1000); + +printf("Ausgabe an LEDs!\n(Binaercode)\n\n"); + wait_ms(1000); + + bankcode.random(); + +printf("Bitte 4-stelligen PIN eingeben!\n\n"); + wait_ms(1000); + bankcode.eingabe(); +// printf("\nEingabe erledigt\n"); + bankcode.ausgabe(); +// printf("\nAusgabe erledigt\n"); + wait_ms(5000); +}