I have a sketch that i build for my lab power supply,
It uses LCD I2C 20x4 (Fransisco Malpartida), ADS1115 (soligen2010), and MCP4725(adafruit),
The void loop(), was so slow it is around 200ms, it is supposed to be fast especially on the ADC reading and DAC.
I have try to put the ADC reading and DAC on the interrupt, but it freezes the arduino
The code was attached…
Thanks for any help…
DigiPoLyDuLo.ino (23.4 KB)