I have an application which makes heavy use of serial ports, reading and writing, but also must support a web interface. I plan to set up two uCOSII tasks, one for the serial port handler, one for the HTTP handler. If I make the serial task the highest priority, then will the http task only run whenever I put a sleep in the serial task. Or should I assign the priorities the other way around. The serial processing is important but I do want the http handler to run often enough so the web interface won’t starve.
Thanks if anyone can advise.