“Traffic-control signal” means any device, whether manually, electrically or mechanically operated, by which traffic is alternately directed to stop and permitted to proceed.