Added parameter variables for clk and chip

Cached values for DF_CPU and mmcu to a separate variable, making it easier for the code to be changed to a different clock speed and chip.