Q1:
Do anyone here hav a "quick" code for making the BCD readout from ADC into a decimal number (kind of like Vref = 50A ) so it calculates for it self what to put in stead of BCD.
Q2: (In case anyone have a code)
If i have several different levels at the ADC
AN0: 5V = 50 A (enegry consumption)
AN1: 5V = 25 A (energy charging)
AN3: 5V = 14.4V (battery voltage)
Is it possibel to say that Vref is xx to AN0, yy to AN1 and zz to AN3
Ok thats nice but i was thinknig of how to get the readout (either to LCD or MMC (using microC libs and compiler)) to dispaly that 5V on ADC = 50A and son on.
The piclist site is great (althou it gives out asm code) but not what Im looking for