At 04:01 AM 8/17/2009, Peter Feucht wrote: >RB5 is located near Vdd, so I simply make a short between Vdd and RB5 if I >like to have model 2 (or leave everything as is for model 1). This may have already been mentioned: what about using a tiny SMD resistor in place of the solder bridge? Upon power-up, wait for everything to stabilize. Then set pin RB5 to output and LO for 2us, then back to input again. Wait another few us, then read the level on that pin. You may want to consider setting that pin back to output and to the level that you discovered previously (either HI or LO) so as to ensure that the pin doesn't float if this is a model 1 unit (no resistor). dwayne -- Dwayne Reid Trinity Electronics Systems Ltd Edmonton, AB, CANADA (780) 489-3199 voice (780) 487-6397 fax www.trinity-electronics.com Custom Electronics Design and Manufacturing -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist