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: eeprom_intern LCD_i2c_GSOE MotorinoLib
Diff: main.cpp
- Revision:
- 2:e9fbdcb1ee8f
- Parent:
- 0:4db26ffb591c
- Child:
- 3:302df40c00e2
--- a/main.cpp Tue Sep 28 15:54:44 2021 +0000
+++ b/main.cpp Tue Sep 28 16:03:50 2021 +0000
@@ -59,13 +59,13 @@
schritt[2].ms=500;
while (true) {
led = !led;
- for (int j=0;j<3;j++)
+ for (int j=0;j<3;j++) //Schritte
{
- for (int i=0;i<6;i++)
+ for (int i=0;i<6;i++) //alle Achsen mit neuen Zielen versorgen und starten
{
achse[i]->go(schritt[j].w[i],schritt[j].ms);
}
- for (int i=0;i<6;i++)
+ for (int i=0;i<6;i++) //warten, dass alle Achsen fertig werden
{
while(achse[i]->isBusy());
}