setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); } catch(PDOException $e) { echo $e->getMessage(); } Controlling a Solid State Relay With a Beaglebone, Part One – Bone BrewsControlling a Solid State Relay with a Beaglebone - BoneBrews