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.
TORTILLA/TORTILLA.h@2:364e8d3f9ee4, 2019-02-12 (annotated)
- Committer:
- papaco
- Date:
- Tue Feb 12 18:10:24 2019 +0000
- Revision:
- 2:364e8d3f9ee4
- Parent:
- 1:4fb1de70cd4d
- Child:
- 4:379e05b2fc0d
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| papaco | 0:b47aaa131075 | 1 | #include "mbed.h" |
| papaco | 0:b47aaa131075 | 2 | |
| papaco | 0:b47aaa131075 | 3 | class TORTILLA{ |
| papaco | 0:b47aaa131075 | 4 | public: |
| papaco | 0:b47aaa131075 | 5 | TORTILLA(void); |
| papaco | 1:4fb1de70cd4d | 6 | void check(void); |
| papaco | 1:4fb1de70cd4d | 7 | void setDP(int DP); |
| papaco | 1:4fb1de70cd4d | 8 | bool getExtruder(void); |
| papaco | 2:364e8d3f9ee4 | 9 | void setExtruder(bool NEW); |
| papaco | 1:4fb1de70cd4d | 10 | bool getCutter(void); |
| papaco | 1:4fb1de70cd4d | 11 | bool getGriddle(void); |
| papaco | 1:4fb1de70cd4d | 12 | bool getOven(void); |
| papaco | 1:4fb1de70cd4d | 13 | bool getTortilla(void); |
| papaco | 1:4fb1de70cd4d | 14 | void addExtruder(void); |
| papaco | 1:4fb1de70cd4d | 15 | void addCutter(void); |
| papaco | 1:4fb1de70cd4d | 16 | void addGriddle(void); |
| papaco | 1:4fb1de70cd4d | 17 | void addOven(void); |
| papaco | 2:364e8d3f9ee4 | 18 | int getExtruderCount(void); |
| papaco | 2:364e8d3f9ee4 | 19 | int getCutterCount(void); |
| papaco | 2:364e8d3f9ee4 | 20 | int getGriddleCount(void); |
| papaco | 2:364e8d3f9ee4 | 21 | int getOvenCount(void); |
| papaco | 0:b47aaa131075 | 22 | private: |
| papaco | 0:b47aaa131075 | 23 | //int* timer; |
| papaco | 1:4fb1de70cd4d | 24 | int extruderCount; |
| papaco | 0:b47aaa131075 | 25 | bool EXTRUDER_PRODUCTION; |
| papaco | 1:4fb1de70cd4d | 26 | int cutterCount; |
| papaco | 0:b47aaa131075 | 27 | bool CUTTER_PRODUCTION; |
| papaco | 1:4fb1de70cd4d | 28 | int griddleCount; |
| papaco | 0:b47aaa131075 | 29 | bool GRIDDLE_PRODUCTION; |
| papaco | 1:4fb1de70cd4d | 30 | int ovenCount; |
| papaco | 0:b47aaa131075 | 31 | bool OVEN_PRODUCTION; |
| papaco | 0:b47aaa131075 | 32 | int desiredProduction; |
| papaco | 0:b47aaa131075 | 33 | bool TORTILLA_PRODUCTION; |
| papaco | 0:b47aaa131075 | 34 | };//TORTILLA |