Surfer... go check in the PICBasic documentation and come back and tell me if the HPWM command allows eight bits or ten bits...