Different types of units. Writing values, relay unit

This commit is contained in:
ftc
2021-09-12 16:01:26 +03:00
parent 80cad276e8
commit cfd8d4c018
10 changed files with 296 additions and 74 deletions
+5 -1
View File
@@ -22,4 +22,8 @@ optional arguments, everything separated with character 0x01.
Possible commands are:
1. ping - no arguments. Informs unit that server is still alive
and able to communicate
and able to communicate
2. r_write - one argument either '0' or '1'. Sets relay state
for unit (only for relay modules). Note that relay on relay modules
is normally opened, so '0' means turned on and '1' means turned off.