Modifying oss Arduino clock, adding in additional functionality.