------=_Part_41109_14162991.1183036031497 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline On 6/28/07, Kevin Timmerman wrote: > Are you using an ICD2 to program the PIC? If so, make sure to use the > Program menu in MPLAB, not the Debug menu. If the chip is programmed > with the debug executive, it will take control of RB6 & RB7 (program > clock and data). Also make sure LVP is not enabled, that would disable RB5. I'm using an ICD2-clone. Project->Build configuration (in MPLAB) is set to "release", and LVP is off. I forgot to include the code in the original post, so I'm attaching it here. > Use one resistor/LED. > And where are the values of all components ? Only one LED is on at a time, so there's no need to waste board-space by adding a resistor per LED. The LED-resistors (R2 and R3) are 220 ohms, all other resistors (pull-downs + MCLR) are all 10k each. -- - Rikard - http://bos.hack.org/cv/ ------=_Part_41109_14162991.1183036031497 Content-Type: application/zip; name=code.zip Content-Transfer-Encoding: base64 X-Attachment-Id: f_f3h91ozb Content-Disposition: attachment; filename="code.zip" UEsDBBQAAgAIAC543DY5O+6qhwcAAIshAAAKAAAAVGVzdGVyLmFzbcVZa2/bOBb9bAP+D0S72HRm kowkO2lRz2MdWZkak9iBpaSDGSwERqJsTWRRS0px2l+/l3pYskUpD3hSI6hV3st7Dw+PLh8efr+X T687RPv4FIHO/YCEeEU+dsT/YsJjwo4xXz03zhjH5GPZrCnK+yPl9Ej78BJA6IYw7tMQAt6rx9rL RrY3ikZJvKRsM7i5f4eZi84oD//Gd/Ted9BPt5T/Z4mdu2PKFr/8s4j2JaNO4PO404l+Vk+9Dx9O O0MkGpDrM+LE/j1BMUUu8fyQoIhRh3BOGfR664dOkLik81OUdTyGhl+g98YJ8Yg4vge03GPm41uY zjSOH8OM8l631xVDIYxRFpB7EqCjvqKJZsHSgW3rs+n55LeDChKfo4QTVyAiq1t4cGjo+YuEYRES uTjGaO3HSz9EqXQ9kNCxiGYtCQrwLQk48mgQ0LUfLlAMjWVszMCFOqBeF0F/YWREjCC1isGV4Uyy ZUzz8iUhMURnCLtuOkQcQCBoWGXo4G8b7po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zbVBLBQYAAAAAAQABADgAAACvBwAAAAA= ------=_Part_41109_14162991.1183036031497 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist ------=_Part_41109_14162991.1183036031497--