mirror of https://github.com/arendst/Tasmota.git
conclude renaming
This commit is contained in:
parent
6ba2fdab65
commit
c396a9bbdb
|
@ -813,9 +813,9 @@
|
||||||
|
|
||||||
// -- PID and Timeprop ------------------------------
|
// -- PID and Timeprop ------------------------------
|
||||||
// #define use TIMEPROP // Add support for the timeprop feature (+9k2 code)
|
// #define use TIMEPROP // Add support for the timeprop feature (+9k2 code)
|
||||||
// For details on the configuration please see the header of tasmota/xdrv_91_timeprop.ino
|
// For details on the configuration please see the header of tasmota/xdrv_48_timeprop.ino
|
||||||
// #define USE_PID // Add suport for the PID feature (+11k5 code)
|
// #define USE_PID // Add suport for the PID feature (+11k5 code)
|
||||||
// For details on the configuration please see the header of tasmota/xdrv_92_pid.ino
|
// For details on the configuration please see the header of tasmota/xdrv_49_pid.ino
|
||||||
// -- End of general directives -------------------
|
// -- End of general directives -------------------
|
||||||
|
|
||||||
/*********************************************************************************************\
|
/*********************************************************************************************\
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
xdrv_91_timeprop.ino - Timeprop support for Sonoff-Tasmota
|
xdrv_48_timeprop.ino - Timeprop support for Sonoff-Tasmota
|
||||||
Copyright (C) 2018 Colin Law and Thomas Herrmann
|
Copyright (C) 2018 Colin Law and Thomas Herrmann
|
||||||
This program is free software: you can redistribute it and/or modify
|
This program is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
|
@ -197,10 +197,9 @@ bool Timeprop_Command()
|
||||||
* Interface
|
* Interface
|
||||||
\*********************************************************************************************/
|
\*********************************************************************************************/
|
||||||
|
|
||||||
#define XDRV_91 91
|
#define XDRV_48 48
|
||||||
|
|
||||||
bool Xdrv91(byte function)
|
bool Xdrv48(byte function)
|
||||||
//bool XDRV_91(byte function)
|
|
||||||
{
|
{
|
||||||
bool result = false;
|
bool result = false;
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
xdrv_92_pid.ino - PID algorithm plugin for Sonoff-Tasmota
|
xdrv_49_pid.ino - PID algorithm plugin for Sonoff-Tasmota
|
||||||
Copyright (C) 2018 Colin Law and Thomas Herrmann
|
Copyright (C) 2018 Colin Law and Thomas Herrmann
|
||||||
This program is free software: you can redistribute it and/or modify
|
This program is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
|
@ -21,7 +21,7 @@
|
||||||
* Clone the library https://github.com/colinl/process-control.git from Github
|
* Clone the library https://github.com/colinl/process-control.git from Github
|
||||||
* into a subfolder of lib.
|
* into a subfolder of lib.
|
||||||
* If you want to use a time proportioned relay output with this then also get
|
* If you want to use a time proportioned relay output with this then also get
|
||||||
* xdrv_91_timeprop.ino
|
* xdrv_49_timeprop.ino
|
||||||
* In user_config.h or user_config_override.h include code as follows:
|
* In user_config.h or user_config_override.h include code as follows:
|
||||||
|
|
||||||
#define USE_PID // include the pid feature (+4.3k)
|
#define USE_PID // include the pid feature (+4.3k)
|
||||||
|
@ -105,7 +105,7 @@
|
||||||
// process, set this to indicate which timeprop output to use. For a device
|
// process, set this to indicate which timeprop output to use. For a device
|
||||||
// with just one relay then this will be 1.
|
// with just one relay then this will be 1.
|
||||||
// It is then also necessary to define USE_TIMEPROP and set the output up as
|
// It is then also necessary to define USE_TIMEPROP and set the output up as
|
||||||
// explained in xdrv_91_timeprop.ino
|
// explained in xdrv_49_timeprop.ino
|
||||||
// To disable this feature leave this undefined (undefined, not defined to nothing).
|
// To disable this feature leave this undefined (undefined, not defined to nothing).
|
||||||
|
|
||||||
#define PID_USE_LOCAL_SENSOR // If defined then the local sensor will be used for pv. Leave undefined if
|
#define PID_USE_LOCAL_SENSOR // If defined then the local sensor will be used for pv. Leave undefined if
|
||||||
|
@ -392,8 +392,7 @@ static void run_pid()
|
||||||
|
|
||||||
#define XDRV_49 49
|
#define XDRV_49 49
|
||||||
|
|
||||||
bool Xdrv92(byte function)
|
bool Xdrv49(byte function)
|
||||||
//bool XDRV_92(byte function)
|
|
||||||
{
|
{
|
||||||
bool result = false;
|
bool result = false;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue