I am trying to send a string to the Serial Comm Port /dev/ttyS0 . On a Windows machine I use Turbo Basic program which has been working for many years. I can send '*80' and it turns on a light on my remote Micro. I can send '*81' to turn it off and so on. How do I 'send' these strings in either 'C' or the 'bash' shell? I have added the user to the 'dialout' group so it can be run without having 'root' access.
The communication settings are 2400 N 8 1 and that has been set and flow control is off. That is what is required by the attached Micro.