> What I want is a PIC to control a current with its output pins. For > instance, with output 00 = 1A, 01 = 750mA, 10 = 500mA, 11 = 250mA. You might get a better answer when you give some more information about what you really want. Probably PWM is a solution? Wouter van Ooijen -- Van Ooijen Technische Informatica: http://www.voti.nl Jal compiler, Wisp programmer, WLoader bootloader, PICs kopen -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.