(a) Whenever an illuminated flashing red or yellow light is used in a traffic signal or with a traffic sign it shall require obedience by vehicular traffic as follows:

(1) Flashing red (stop signal). When a red lens is illuminated with rapid intermittent flashes, drivers of vehicles shall stop at a clearly marked stop line, but if none, before entering the crosswalk on the near side of the intersection, or if none, then at the point nearest the intersecting roadway where the driver has a view of approaching traffic on the intersecting roadway before entering it, and the right to proceed shall be subject to the rules applicable after making a stop at a stop sign.

(2) Flashing yellow (caution signal). When a yellow lens is illuminated with rapid intermittent flashes, drivers of vehicles may proceed through the intersection or past such signal only with caution.

(b) This section shall not apply at railroad grade crossings. Conduct of drivers of vehicles approaching railroad grade crossings shall be governed by the rules as set forth in Kan. Stat. Ann. § 8-1558*.