-
This commit is contained in:
parent
0689ea7e9e
commit
485fa38021
@ -83,11 +83,12 @@ All functions are controlled by the KY-040 encoder:
|
|||||||
|
|
||||||
|Value|Config Menu Name|Description|
|
|Value|Config Menu Name|Description|
|
||||||
|:----|:---------------|:----------|
|
|:----|:---------------|:----------|
|
||||||
|
|`LGHT`|`LGHT`|LCD display brightness|
|
||||||
|`SPEEDINC1`, `SPEEDINC2`, `SPEEDINC3`|`SPI1`, `SPI2`, `SPI3`|increment of speed values when turning the encoder|
|
|`SPEEDINC1`, `SPEEDINC2`, `SPEEDINC3`|`SPI1`, `SPI2`, `SPI3`|increment of speed values when turning the encoder|
|
||||||
|`SPEEDSTEP1`, `SPEEDSTEP2`|`SPS1`, `SPS2`|speed increment steps (increment changes at these values)|
|
|`SPEEDSTEP1`, `SPEEDSTEP2`|`SPS1`, `SPS2`|speed increment steps (increment changes at these values)|
|
||||||
|`FANMIN`|`FMIN`|fan minimum speed (should be a value at which the fan runs safely) (rpm)|
|
|`FANMIN`|`FMIN`|fan minimum speed (should be a value at which the fan runs safely) (rpm)|
|
||||||
|`FANMAX`|`FMAX`|maximum speed of the fan (it is important that this is the real maximum value of the fan) (rpm)|
|
|`FANMAX`|`FMAX`|maximum speed of the fan (it is important that this is the real maximum value of the fan) (rpm)|
|
||||||
|`FANINIT`|`FINI`|set fan to hight voltage at boot|
|
|`FANINIT`|`FINI`|set fan to hight voltage at boot (3 sec)|
|
||||||
|`BOFF`|`BOFF`|if set boost off will also turn the normal mode off|
|
|`BOFF`|`BOFF`|if set boost off will also turn the normal mode off|
|
||||||
|`BINC`|`BINC`|boost time increment (min)|
|
|`BINC`|`BINC`|boost time increment (min)|
|
||||||
|`CINC`|`CINC`|catch time increment (min)|
|
|`CINC`|`CINC`|catch time increment (min)|
|
||||||
|
4
stir.ino
4
stir.ino
@ -78,7 +78,7 @@ int ostate[2]={0},otime[2]={0};
|
|||||||
int rnd[2]={0},rnval[2]={0};long seed; // random speed
|
int rnd[2]={0},rnval[2]={0};long seed; // random speed
|
||||||
char form[8],out[20]; // string buffer
|
char form[8],out[20]; // string buffer
|
||||||
String CF[NP];int *P[NP],Cinc[NP],Cmin[NP],Cmax[NP]; // configuration menu
|
String CF[NP];int *P[NP],Cinc[NP],Cmin[NP],Cmax[NP]; // configuration menu
|
||||||
int clkorg,dtorg;
|
int clkorg,dtorg; // encoder direction
|
||||||
|
|
||||||
void setup() { ////////////////////////////////////////////////////////////////////////////////////////// SETUP
|
void setup() { ////////////////////////////////////////////////////////////////////////////////////////// SETUP
|
||||||
int i;
|
int i;
|
||||||
@ -144,7 +144,7 @@ void setup() { /////////////////////////////////////////////////////////////////
|
|||||||
slcd(0,0,5,VERSION); // show version
|
slcd(0,0,5,VERSION); // show version
|
||||||
|
|
||||||
if (FANINIT) { // setup fans
|
if (FANINIT) { // setup fans
|
||||||
digitalWrite(R0,LOW);digitalWrite(R1,LOW);delay(4000);digitalWrite(R0,HIGH);digitalWrite(R1,HIGH);
|
digitalWrite(R0,LOW);digitalWrite(R1,LOW);delay(3000);digitalWrite(R0,HIGH);digitalWrite(R1,HIGH);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user