|
Have I got Teacup Firmware config.h wrong? January 21, 2011 09:50AM |
Registered: 18 years ago Posts: 467 |
|
Re: Have I got FiveD on Arduino config.h wrong? January 22, 2011 03:22AM |
Registered: 18 years ago Posts: 1,094 |
|
Re: Have I got FiveD on Arduino config.h wrong? January 22, 2011 05:44AM |
Registered: 18 years ago Posts: 467 |
|
Re: Have I got FiveD on Arduino config.h wrong? January 23, 2011 07:07PM |
Registered: 18 years ago Posts: 1,094 |
|
Re: Have I got FiveD on Arduino config.h wrong? January 24, 2011 06:59AM |
Registered: 18 years ago Posts: 467 |
|
Re: Have I got FiveD on Arduino config.h wrong? January 24, 2011 08:46PM |
Registered: 18 years ago Posts: 1,094 |
diff --git a/mendel.c b/mendel.c
index e36387d..a05909b 100644
--- a/mendel.c
+++ b/mendel.c
@@ -82,24 +82,24 @@ void io_init(void) {
OCR2B = 0;
#ifdef TCCR3A
- TCCR3A = MASK(WGM31) | MASK(WGM30);
- TCCR3B = MASK(CS30);
+ TCCR3A = MASK(WGM30);
+ TCCR3B = MASK(WGM32) | MASK(CS30);
TIMSK3 = 0;
OCR3A = 0;
OCR3B = 0;
#endif
#ifdef TCCR4A
- TCCR4A = MASK(WGM41) | MASK(WGM40);
- TCCR4B = MASK(CS40);
+ TCCR4A = MASK(WGM40);
+ TCCR4B = MASK(WGM42) | MASK(CS40);
TIMSK4 = 0;
OCR4A = 0;
OCR4B = 0;
#endif
#ifdef TCCR5A
- TCCR5A = MASK(WGM51) | MASK(WGM50);
- TCCR5B = MASK(CS50);
+ TCCR5A = MASK(WGM50);
+ TCCR5B = MASK(WGM52) | MASK(CS50);
TIMSK5 = 0;
OCR5A = 0;
OCR5B = 0;
|
Re: Have I got FiveD on Arduino config.h wrong? January 25, 2011 12:20PM |
Registered: 18 years ago Posts: 467 |
|
Re: Have I got FiveD on Arduino config.h wrong? January 25, 2011 05:56PM |
Registered: 18 years ago Posts: 1,094 |
|
Re: Have I got FiveD on Arduino config.h wrong? January 26, 2011 01:02PM |
Registered: 15 years ago Posts: 155 |
|
Re: Have I got FiveD on Arduino config.h wrong? January 27, 2011 12:46PM |
Registered: 18 years ago Posts: 467 |
|
Re: Have I got FiveD on Arduino config.h wrong? January 27, 2011 02:47PM |
Registered: 16 years ago Posts: 71 |
|
Re: Have I got FiveD on Arduino config.h wrong? February 02, 2011 08:30AM |
Registered: 15 years ago Posts: 8 |
DEFINE_TEMP_SENSOR(extruder, TT_INTERCOM, 0, 255)
#define DEFINE_HEATER(extruder, PORTD, PIND6, OCR0A)
#define DEFINE_TEMP_SENSOR(extruder,TT_THERMISTOR,AI01,0) and #define DEFINE_TEMP_SENSOR(extruder,TT_THERMISTOR,1,0)
|
Re: Have I got FiveD on Arduino config.h wrong? February 02, 2011 11:18AM |
Registered: 18 years ago Posts: 467 |