G
Guest
Guest
I'm afraid this must be a terribly naive question but I haven't been able to find the answer in the manual, a picaxe book I have, or the forums. I want to make a tri-color LED slowly pulse (like Apple laptops when they are asleep). This seems fairly straightforward. However, I want to control the color from my computer over a serial line. I don't see a way to have the picaxe both waiting for serial input and changing the LED brightness using pwm because the SerIn command precludes other activity. What are my options here? The only thing I could think of was add a 2nd picaxe to handle serial, but even then it isn't obvious to me how to communicate from the picaxe doing serial to the picaxe controlling the LED.
So what am I missing? Is there some trick to getting serial input while doing other processing?
So what am I missing? Is there some trick to getting serial input while doing other processing?