made code that ran using 1MHz clk instead, for lower voltage operation