Hi
I have multiple K8090 8 port relay boards, and need to work with them all at the same time.
To be able to do this, I need to Identify each board, so my program will not get confused between them.
When a linux restart, a different tty device is assign to the board so:
My question is, is there a way to change the hardware name, the system driver picks up?
Or how can I program a ID tag, to give for each board?
Or program a custom function it where I can store a value, and it can return the value when the function is called?
I am using a Linux debian system. So I need to be able to figure out which board setup works for which tty device by picking up the board by name, or by reading a variable, or execute a method on the board giving me a name I assigned to it.