fix example heaters, add note to gen3 config clarifying that heaters connected to extruder go in extruder config

This commit is contained in:
Michael Moon 2011-02-14 10:58:00 +11:00
parent 84457ccc4b
commit f80edeabb0
3 changed files with 12 additions and 9 deletions

View File

@ -249,6 +249,9 @@ DEFINE_TEMP_SENSOR(noheater, TT_INTERCOM, 0)
* *
* Define your heaters here *
* *
* WARNING: For GEN3, ONLY DEFINE HEATERS CONNECTED TO YOUR MOTHERBOARD HERE *
* Heaters connected to your extruder controller belong in extruder/config.h *
* *
* If your heater isn't on a PWM-able pin, set heater_pwm to zero and we'll *
* use bang-bang output. Note that PID will still be used *
* *
@ -269,9 +272,9 @@ DEFINE_TEMP_SENSOR(noheater, TT_INTERCOM, 0)
#endif
// name port pin pwm
// DEFINE_HEATER(extruder, PORTD, PINB3, OCR0A)
// DEFINE_HEATER(bed, PORTD, PINB4, OCR0B)
// DEFINE_HEATER(fan, PORTD, PINB4, OCR0B)
// DEFINE_HEATER(extruder, PORTB, PINB3, OCR0A)
// DEFINE_HEATER(bed, PORTB, PINB4, OCR0B)
// DEFINE_HEATER(fan, PORTB, PINB4, OCR0B)
// DEFINE_HEATER(chamber, PORTD, PIND7, OCR2A)
// DEFINE_HEATER(motor, PORTD, PIND6, OCR2B)

View File

@ -288,9 +288,9 @@ DEFINE_TEMP_SENSOR(extruder, TT_THERMISTOR, 0)
#endif
// name port pin pwm
DEFINE_HEATER(extruder, PORTD, PINB3, OCR0A)
DEFINE_HEATER(bed, PORTD, PINB4, OCR0B)
// DEFINE_HEATER(fan, PORTD, PINB4, OCR0B)
DEFINE_HEATER(extruder, PORTB, PINB3, OCR0A)
DEFINE_HEATER(bed, PORTB, PINB4, OCR0B)
// DEFINE_HEATER(fan, PORTB, PINB4, OCR0B)
// DEFINE_HEATER(chamber, PORTD, PIND7, OCR2A)
// DEFINE_HEATER(motor, PORTD, PIND6, OCR2B)

View File

@ -275,9 +275,9 @@ DEFINE_TEMP_SENSOR(bed, TT_THERMISTOR, AIO1_PIN)
// NOTE: these pins are for RAMPS V1.1 and newer. V1.0 is different
// name port pin pwm
DEFINE_HEATER(extruder, PORTD, PINB4, OCR2A)
DEFINE_HEATER(bed, PORTD, PINH5, OCR4CL)
DEFINE_HEATER(fan, PORTD, PINH6, OCR2B)
DEFINE_HEATER(extruder, PORTB, PINB4, OCR2A)
DEFINE_HEATER(bed, PORTH, PINH5, OCR4CL)
DEFINE_HEATER(fan, PORTH, PINH6, OCR2B)
// DEFINE_HEATER(chamber, PORTD, PIND7, OCR2A)
// DEFINE_HEATER(motor, PORTD, PIND6, OCR2B)