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 Teach memory
Diff: teach.h
- Revision:
- 3:b22580585b9c
- Parent:
- 2:6dc660d146b7
--- a/teach.h Wed Apr 22 08:39:40 2020 +0000 +++ b/teach.h Mon Apr 27 05:07:00 2020 +0000 @@ -10,6 +10,7 @@ */ #include <vector> #include "mbed.h" +#include "memory.h" #ifndef teach_H // no idea what this does #define teach_H // seems important @@ -40,7 +41,7 @@ void setstart(float posx,float posy,float posz, int time); // creates a temporary begin of line point void setpoint(float posx,float posy,float posz, int time); // creates a temporary position point void setend(float posx,float posy,float posz, int time); // creates a temporary end of line point - void save(void); // wen calld from main stores the whole training in memory + void save(string name); // wen calld from main stores the whole training in memory void stop(void); // deleats all temp data and resets counters/pointers private: @@ -50,6 +51,8 @@ void process(void); // rounds the houses to trainings void contr_sice(void); // controlls the sice of temp array struct posdata temp; // temporary data storage + memory store; // store and load data from memory + string tr_name; // objekte von display,memory,position // für interaktion mit anderen Klassen