Typo-fixes (#1244)

This commit is contained in:
DigiH authored and GitHub committed 2022-07-19 07:53:38 +02:00
1 parent 612c3f6322
commit 1c62d74e56
19 files changed
+38 -38

No files matched your search

+3 -3
View File
@@ -50,7 +50,7 @@ If you don’t want to use special parameters for IR just use value key, the pro
`mosquitto_pub -t home/OpenMQTTGateway/commands/MQTTtoIR -m '{"value":551489775}'`
NOTE: on arduino Uno most of the protocols are not enable per default due to memory constraints (it is not the case for MEGA), to enable them go to [User_config.h](https://github.com/1technophile/OpenMQTTGateway/blob/master/main/User_config.h) and uncomment the #define corresponding the protocols you want:
NOTE: on Arduino Uno most of the protocols are not enable per default due to memory constraints (it is not the case for MEGA), to enable them go to [User_config.h](https://github.com/1technophile/OpenMQTTGateway/blob/master/main/User_config.h) and uncomment the #define corresponding the protocols you want:
```cpp
//#define IR_COOLIX
@@ -85,14 +85,14 @@ You should be able to command your devices without having listened with the IR r
## Send data by MQTT with advanced IR parameters
IR sending support two advanced parameters; bits length and repeat number.
The example below will send the following advanced parameters bits: 14 and repeat:4 times for a sony protocol:
The example below will send the following advanced parameters bits: 14 and repeat:4 times for a Sony protocol:
```
mosquitto_pub -t home/OpenMQTTGateway/commands/MQTTtoIR -m '{"value":551489775,"protocol_name":"NEC","repeat":4,"bits":14}'
```
## Send raw IR data by MQTT
2) If you use an arduino UNO enable `IR_Raw` by uncommenting the line 129 in User_config.h
2) If you use an Arduino UNO enable `IR_Raw` by uncommenting the line 129 in User_config.h
`#define IR_Raw`
If you are using the uno you will have to comment other gateway like ZgatewayRF, ZgatewayBT and ZgatewayIR to keep enough memory