Update code to use internal 8Mhz clock.