mirror of
https://github.com/eddyem/eddys_snippets.git
synced 2026-03-20 08:41:02 +03:00
added "relay type 1" for non-standard 4-relay board (based on STM8S003)
This commit is contained in:
@@ -57,6 +57,7 @@ static sl_option_t cmdlnopts[] = {
|
||||
{"node", NEED_ARG, NULL, 'n', arg_int, APTR(&GP.nodenum), "node number (default: 1)"},
|
||||
{"readN", NO_ARGS, NULL, 0, arg_int, APTR(&GP.readn), "read node number"},
|
||||
{"setN", NEED_ARG, NULL, 0, arg_int, APTR(&GP.setn), "change node number"},
|
||||
{"type", NEED_ARG, NULL, 't', arg_int, APTR(&GP.relaytype), "type of relay: 0 - standard 2relay, 1 - non-standard 4relay"},
|
||||
end_option
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user