I am realy new to c# programming and I have one question.
I want to send some commands to my serial port and I saw that is more easy to do this from a c# program that a c program. I want to control a board with 4 relays, they turn on and off by a simple command.
I want to do this in a (maybe) special way: my program should read a value from a txt file and if that value is lets say 11 it should turn on relay no.1
Can a c# program do this after I run the program? I mean do this automatic. If I write 11 in my file my program turn on the relay?
I hope you could understand what I want to say
I know I can do this from a C program but I found harder to do.