is this a valid way of doing cc/cv control with an xl4015? i've seen the diode-or sink-only op amp approach used elsewhere but never in the xl4015 or lm2596 modules, not sure why?
>use an lm358
my op amps are single supply. ive read that lm358 is terrible at stinking current near gnd.