You are not logged in.
Pages: 1
Good daytime to you!
I'm trying to learn programming under linux. Before I had some experience, in MustDie(windows), but not much.
I have an external LCD screen that's connected to USB, and is detected as /dev/ttyUSB0. I made my program to dispay strings on it, but when I start it, of course it take a stdin from a console.
I want, for example, to dipaly current time on that screen, without taking need to be logged in the system, and using a console to run it. My idea was to use some sort of threads... Or to write a daemon... Is there a better way to do it?
Offline
Yes, you want a daemon, which is just a program meant to run in the background. You could do it as a shell script, or you could modify your program to print the system time instead of reading from stdin. Then you can start it on boot.
Offline
Pages: 1