Section 1146. Drivers to exercise due care. Notwithstanding the provisions of any other law to the contrary, every driver of a vehicle shall exercise due care to avoid colliding with any bicyclist, pedestrian or domestic animal upon any roadway and shall give warning by sounding the horn when necessary.