176 of 307
ZBasic System Library 166 ZX Microcontroller Family Available PWM Frequencies FastPWM Phase Correct PWM 57,600.0 28,912.9 7,200.0 3,614.1 1,800.0 903.5 900.0 451.8 450.0 225.9 225.0 112.9 56.3 28.8 The PWM frequencies in the table above apply to ZX devices with a main clock speed of 14.7456 MHz. For ZX devices operating at a different frequency, the available PWM frequencies will be proportionally higher or lower. Example Call OpenPWM8(1, 50.0, zxFastPWM) 'prepare for 50Hz Fast PWM using channel 1 Compatibility This subroutine is not available in BasicX compatibility mode. See Also ClosePWM8, PWM8