Can you use one of the constants from timeconstants.h instead of 1000000?