I would like to do,
at the same time. But the problem is that only the led on pin 3 lights up. I want both to light up at the same time. I've heard about direct port manipulation, but I can only find an alternate for
digitalWrite() but I couldn't find one for
analogWrite(). Can someone please help me with just a simple example on just how to do the above operation?
I'm using arduino uno.