fixed frequency constant

changed cpu frequency definition to 8 MHz, which is the reight frequency