added some #defines to the code for pins