Commit 7c53cc76 authored by Gregor Hartmann's avatar Gregor Hartmann Committed by Marcel Stör
Browse files

Deprecate RC module (#3137)

parent 544ee812
...@@ -33,6 +33,10 @@ static int ICACHE_FLASH_ATTR rc_send(lua_State* L) { ...@@ -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 ...@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment