Zoals Lambiek laat zien en Arco al zegt, hier het manual voor HPWM:
Syntax
HPWM Channel, Dutycycle, Frequency
Overview
Output a pulse width modulated pulse train using the CCP modules PWM hardware, available
on some microcontrollers. The PWM pulses produced can run continuously in the background
while the program is executing other instructions.
Parameters
Channel is a constant value that specifies which hardware PWM channel to use. Some devices
have 1, 2 or 3 PWM channels. On devices with 2 channels, the Frequency must be the same
on both channels. It must be noted, that this is a limitation of the PICmicro™ not the compiler.
The data sheet for the particular device used shows the fixed hardware pin for each Channel.
For example, for a PIC16F877, Channel 1 is CCP1 which is pin PORTC.2. Channel 2 is CCP2
which is pin PORTC.1.
Dutycycle is a variable, constant (0-255), or expression that specifies the on/off (high/low) ratio
of the signal. It ranges from 0 to 255, where 0 is off (low all the time) and 255 is on (high) all the
time. A value of 127 gives a 50% duty cycle (square wave).
Frequency is a variable, constant (0-32767), or expression that specifies the desired frequency
of the PWM signal. Not all frequencies are available at all oscillator settings. The highest frequency
at any oscillator speed is 32767Hz.
Dus zoals Lambiek in zijn voorbeeld geeft is de correcte manier (met een spatie tussen HPWM en Channel).