A truck driver who ran a red light and hit two students outside an Adelaide school, leaving one with a traumatic brain injury, has been ordered to do community service but has avoided jail.