Deprecate RC module (#3137)
This commit is contained in:
parent
544ee81210
commit
7c53cc7611
|
@ -33,6 +33,10 @@ static int ICACHE_FLASH_ATTR rc_send(lua_State* L) {
|
||||||
NODE_ERR("Protocol:%d\n",Protocol);
|
NODE_ERR("Protocol:%d\n",Protocol);
|
||||||
NODE_ERR("repeat:%d\n",repeat);
|
NODE_ERR("repeat:%d\n",repeat);
|
||||||
NODE_ERR("send:");
|
NODE_ERR("send:");
|
||||||
|
|
||||||
|
platform_print_deprecation_note("rc",
|
||||||
|
"in the next release. Use rfswitch module instead.");
|
||||||
|
|
||||||
int c,k,nRepeat;
|
int c,k,nRepeat;
|
||||||
bits = bits-1;
|
bits = bits-1;
|
||||||
for (c = bits; c >= 0; c--)
|
for (c = bits; c >= 0; c--)
|
||||||
|
|
|
@ -8,6 +8,10 @@ Superseded by **[rfswitch](./rfswitch.md)** module which have same functionality
|
||||||
|
|
||||||
For more detailed description see [rfswitch module documentation](./rfswitch.md).
|
For more detailed description see [rfswitch module documentation](./rfswitch.md).
|
||||||
|
|
||||||
|
!!! caution
|
||||||
|
|
||||||
|
This module is deprecated and will be removed in favor of the **[rfswitch](./rfswitch.md)** module.
|
||||||
|
|
||||||
## rc.send()
|
## rc.send()
|
||||||
Sends series of impulses
|
Sends series of impulses
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue