application: minor, add cooling alternative
This commit is contained in:
parent
ea5dc74c88
commit
9fbd4d377e
|
@ -348,9 +348,14 @@ static void tec_cool(void)
|
||||||
// ++ -- ++ off heat 1.5
|
// ++ -- ++ off heat 1.5
|
||||||
// ++ ++ -- cool off 1.4
|
// ++ ++ -- cool off 1.4
|
||||||
// ++ ++ ++ cool heat 2.1
|
// ++ ++ ++ cool heat 2.1
|
||||||
|
// cool only top at max power
|
||||||
gpio_clear(GPIO_PORT(MBLK019_CH26_PIN), GPIO_PIN(MBLK019_CH26_PIN)); // sink current, powering the opto-coupler, switching the transistor on
|
gpio_clear(GPIO_PORT(MBLK019_CH26_PIN), GPIO_PIN(MBLK019_CH26_PIN)); // sink current, powering the opto-coupler, switching the transistor on
|
||||||
gpio_clear(GPIO_PORT(MBLK019_CH14_PIN), GPIO_PIN(MBLK019_CH14_PIN)); // sink current, powering the opto-coupler, switching the transistor on
|
gpio_clear(GPIO_PORT(MBLK019_CH14_PIN), GPIO_PIN(MBLK019_CH14_PIN)); // sink current, powering the opto-coupler, switching the transistor on
|
||||||
gpio_set(GPIO_PORT(MBLK019_CH35_PIN), GPIO_PIN(MBLK019_CH35_PIN)); // don't sink current, not powering the opto-coupler, switching the transistor off
|
gpio_set(GPIO_PORT(MBLK019_CH35_PIN), GPIO_PIN(MBLK019_CH35_PIN)); // don't sink current, not powering the opto-coupler, switching the transistor off
|
||||||
|
// cool top and bottom, sharing the load
|
||||||
|
//gpio_set(GPIO_PORT(MBLK019_CH26_PIN), GPIO_PIN(MBLK019_CH26_PIN));
|
||||||
|
//gpio_clear(GPIO_PORT(MBLK019_CH14_PIN), GPIO_PIN(MBLK019_CH14_PIN));
|
||||||
|
//gpio_clear(GPIO_PORT(MBLK019_CH35_PIN), GPIO_PIN(MBLK019_CH35_PIN));
|
||||||
}
|
}
|
||||||
|
|
||||||
/** read bed top half temperature
|
/** read bed top half temperature
|
||||||
|
|
Loading…
Reference in New Issue