Quote Originally Posted by aratti View Post
Place a 220 ohms resistor in series to your led. If you want it brighter, then you should use a transistor. Your beeper can be connected directly to the pic output.

Al.
Okay, thank you but tell me, how did you calculate this 220 ohms value?