Quote Originally Posted by lerameur View Post
also,
I dont usually use that and/or have seen this, but should we put resistors to ALL output pins of the microcontroller?
When I used the word pin, I meant the literal piece of metal sticking out of the part. I guess I should have said leads.
The opto coupler is made from 2 LEDs, 2 photo transistors. So in a word, Yes all the opto couplers LEDs should have series resistors.
As far as your PIC goes, I (personally) never leave pins floating out in space, I always tie them to Power or Ground as appropriate to their respective conditions.
I hope you found this to be of value.
JS