Changes
Jump to navigation
Jump to search
194 bytes added
, 12:23, 31 January 2022
m| Line 33: |
Line 33: |
| | sqlite3 /home/settings/db/larnitech.db | | sqlite3 /home/settings/db/larnitech.db |
| | select * from accounts; | | select * from accounts; |
| | + | </syntaxhighlight> |
| | + | |
| | + | ==Control valve-heating from script== |
| | + | <syntaxhighlight lang="C"> |
| | + | sprintf(strCommand, "%03d:%03d0ts:%d",ID, SID, setpoint); |
| | + | strCommand[7]=0; |
| | + | setStatus(1000:102, &strCommand); |
| | </syntaxhighlight> | | </syntaxhighlight> |