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.
definitions.h
- Committer:
- albertotef
- Date:
- 2019-06-26
- Revision:
- 11:4c74f41d18b2
- Parent:
- 10:27c4fd258640
File content as of revision 11:4c74f41d18b2:
/*DEBUG MODE*/
#define DEBUG_MODE
/*CYCLES*/
#define EXTRUDER_CYCLE 19500 //se extruye una tortilla cada x tiempo (18s)
#define CUTTER_FIRST_TIME 0
#define CUTTER_WAIT_TIMER 5000// tiempo que tarda el cortador en empezar a cortar desde que empezó a extruir el extrusor
#define GRIDDLE_FIRST_TIME 0
#define GRIDDLE_WAIT_TIMER 31000// tiempo que tarda en llegar la trotilla al punto de aplaste
#define OVEN_FIRST_TIME 0
#define OVEN_WAIT_TIMER 15000// tiempo que tarda en abrir la puerta del horno
/*MACHINE*/
#define BAND_VEL 0.8 //Band speed 0-1
/*EXTRUDER*/
#define NumberOfTortillasPerCapsule 30
#define EXTRUDER_MIN 0.052
#define EXTRUDER_MAX 0.10
/*OVEN*/
#define OVEN_OPEN 0.05
#define OVEN_CLOSE 0.10
#define OVEN_WAIT_FOR_TORTILLA 5000
#define OVEN__WAIT_FOR_CLOSE 12000// tiempo entre que abre y cierra la puerta del horno
/*GRIDDLE*/
#define GRIDDLE_PRESS 3500// cuanto tiempo se mantiene la plancha abajo aplastando
#define EXTRUDER_INIT_TIME 500
#define EXTRUDER_TIME 2000
#define EXTRUDER_STEP 0.002 //MAX=0.5 // grosor de la tortilla
#define SENSOR_TIME 50
/*TORTILLA*/
#define TORTILLA_NO_1 1 //Minimum number of tortillas to produce
#define TORTILLA_NO_2 2 //Second number of tortillas to produce
#define TORTILLA_NO_3 3 //Third number of tortillas to produce
#define TORTILLA_NO_4 4 //Fourth number of tortillas to produce
#define TORTILLA_NO_5 30 //Maximum number of tortillas to produce
/*GENERAL*/
#define HOME 1
#define IDLE 2
#define INIT_PRODUCTION 3
#define PRODUCTION 4
#define HOME_TIMER 10000
#define IDLE_TIMER 20
#define PRODUCTION_TIMER 5000
/**/
#define FLASH_TIME 1000