I saw a project on instructables, which is controlling a cdrom's lens focusing actuator (actually an electromagnet) by setting one of its terminals as LOW and its other terminal as HIGH to move it left, and vice versa to move it right, and setting both pins to LOW to bring it to the center.
According to "10 ways to destroy your arduino" 10 Ways to Destroy an Arduino — Rugged CircuitsRugged Industrial Arduino Microcontrollers , it is dangerous to ground on to a digital pin (although the link is more like an advertisement for their own customised arduino).
My actuator's electromagnet has a resistance of about 3 ohms. is it safe to drive it by setting one digital pin as HIGH and the otherone as LOW?