cleaned it up, changed setup

Removed some unnecessary #defines, and added a "peripheral buss clock"
argument to the I2C setup.