Well, not the ports but the registers for the CCP modules(s), yes. Two-three registers per module maby, so four to six lines of code to have both running. The "trick" is to figure out what to write to the registers, the datasheet is key.So that means directly writing to the correct ports might do what I want?
No, it's not SPI, more "like" async serial and yes the dutycycle of the fixed frequency output IS the only thing it controls - that's how it dims the LEDs.I did purchase an LED 3 channel 8-bit PWM driver to try (TLC59731DR). I thought it was SPI, but it isn't, and It also controls duty cycle.
It's not really clear what exactly you want to do. In the first post you mention generating two distinct tones but then you're talking about LED dimmers. Can you explain what you're trying to achieve?
Bookmarks