For the used input pins have a look at this code line:set_adc_channel(channel);Then, look in the manual for this function and you find:Syntax: set_adc_channel (chan
Another 'minor' detail NOT commented in the program is what value are the voltage divider resistors for the battery and solar panel voltages AND what are the current load resistors.
It's kinda IMPOR ...
I'm having some problems understanding this MPPT code.
What are the exact input pins ? I don't get it.
Sorry I'm not a code expert.
#include <16f876.h>
#device *=16 ADC=10
#use delay( ...