Below are the basic laws to follow when crossing the street or driving.
When a pedestrian crosses the street in a crosswalk, the driver must yield.
Drivers are not required to yield until you begin to step into the crosswalk.
Pedestrians should not walk or run unexpectedly into the path of a moving vehicle. Pedestrians should not assume drivers will see or yield. Look left, right, and left again before stepping out.
It is illegal for drivers to pass a vehicle that is stopped for a pedestrian in a crosswalk, as the second driver may not see the pedestrian in the crosswalk.
If a pedestrian crosses the street not at an intersection and there is no crosswalk, the pedestrian must yield to vehicles.
When crossing the street at a signalized intersection, both pedestrians and motorists must obey the traffic-control devices.
These signs and signals help identify who must yield.
When walking along a road with sidewalks and its use is practicable, it is unlawful for any pedestrian to walk along and upon an adjacent roadway.
More info http://bit.ly/PennDOTPedestrians