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.
Diff: TORTILLA/TORTILLA.h
- Revision:
- 5:fe1e88d6b0cb
- Parent:
- 4:379e05b2fc0d
- Child:
- 8:cb15741cc314
diff -r 379e05b2fc0d -r fe1e88d6b0cb TORTILLA/TORTILLA.h
--- a/TORTILLA/TORTILLA.h Wed Feb 20 15:35:56 2019 +0000
+++ b/TORTILLA/TORTILLA.h Wed Feb 20 18:43:15 2019 +0000
@@ -1,4 +1,5 @@
#include "mbed.h"
+#include "definitions.h"
class TORTILLA{
public:
@@ -19,6 +20,13 @@
int getCutterCount(void);
int getGriddleCount(void);
int getOvenCount(void);
+
+ void setCutterTrigger(int tortilla,int time);
+ int getCutterTrigger(int tortilla);
+ void setGriddleTrigger(int tortilla,int time);
+ int getGriddleTrigger(int tortilla);
+ void setOvenTrigger(int tortilla,int time);
+ int getOvenTrigger(int tortilla);
private:
//int* timer;
int extruderCount;
@@ -32,4 +40,8 @@
int desiredProduction;
bool TORTILLA_PRODUCTION;
int ENDED;
+
+ int cutterTrigger[NumberOfTortillasPerCapsule];
+ int griddleTrigger[NumberOfTortillasPerCapsule];
+ int ovenTrigger[NumberOfTortillasPerCapsule];
};//TORTILLA
\ No newline at end of file