How to increase the dc motor's speed(andFrequency)value more than255(and64KHZ)?

Read all the button states at the beginning of your code, then perform all tests.