This repository has been archived on 2025-02-01. You can view files and clone it, but cannot push or open issues or pull requests.
reprapfirmware-dc42/Configuration.h
Adrian Bowyer 971fed0d02 Temperature range checking added (see Configuration.h). If temps repeatedly
fall outside the set range, it assumes the thermistor is bust and turns off the heater.
2013-11-10 21:55:44 +00:00

63 lines
1.5 KiB
C

/****************************************************************************************************
RepRapFirmware - Configuration
This is where all machine-independent configuration and other definitions are set up. Nothing that
depends on any particular RepRap, RepRap component, or RepRap controller should go in here. Define
machine-dependent things in Platform.h
-----------------------------------------------------------------------------------------------------
Version 0.1
18 November 2012
Adrian Bowyer
RepRap Professional Ltd
http://reprappro.com
Licence: GPL
****************************************************************************************************/
#ifndef CONFIGURATION_H
#define CONFIGURATION_H
#define NAME "RepRapFirmware"
#define VERSION "0.1"
#define DATE "2012-11-18"
#define LAST_AUTHOR "reprappro.com"
#define ABS_ZERO -273.15 // Celsius
#define INCH_TO_MM 25.4
#define HEAT_SAMPLE_TIME 0.5 // Seconds
#define TEMPERATURE_CLOSE_ENOUGH 5.0 // Celsius
#define TEMPERATURE_LOW_SO_DONT_CARE 40.0 // Celsius
// If temperatures fall outside this range, something
// nasty has happened.
#define BAD_LOW_TEMPERATURE -30.0
#define BAD_HIGH_TEMPERATURE 300.0
#define MAX_BAD_TEMPERATURE_COUNT 3
#define STANDBY_INTERRUPT_RATE 2.0e-4 // Seconds
#define NUMBER_OF_PROBE_POINTS 3
#define Z_DIVE 5.0 // Height from which to probe the bed (mm)
// Webserver stuff
#define DEFAULT_PASSWORD "reprap"
#define DEFAULT_NAME "My RepRap 1"
/* Z PROBE CALIBRATION
* Set = 1 to enable Z probe ADC output on SerialUSb
*/
#define CALIB_Z 0
#endif