Code to ping with an Arduino