Re: Temporary central repository of Darrel Taylor's works (including Mr E's Multicalc
by
Published on - 3rd January 2015 13:34
Here is my version of Darrels 10bit HPWM_L. Original version works with PBPW. There is comments in code, what is changed. Later Darrel publise his version on me labs forum.
Example:
Code:
include "HPWM_L.pbp"
DutyCycle1 VAR WORD
DutyCycle2 VAR WORD
Frequency VAR WORD
@ HPWM10 1, _DutyCycle1, _Frequency
@ HPWM10 1, _DutyCycle2, _Frequency
Frequency must be same for all channels.
HPWM10_L.zip
EDIT:
Here is archive with original code and example:
HPWM10.zip
I can't find S_PWM

Re: I2CWRITE/I2CREAD access hardware in the different way? (PCA9685 issues)
You should probably leave them as inputs.
tumbleweed - 20th December 2025, 17:39The I2C commands will change them from inputs to outputs as required to simulate an open-collector signal (high=input, low=output 0).
It would...