Hi Rafael;
I have tried your idea of moving the ADC reads and message array stuffing into the requestEvent() function. The result is most unexpected.
First of all no i2c errors are being reported, so that's good.
However, the SWR value reported on the GUI is SIGNIFICANTLY different.
CAVEAT: My ADC inputs are still hanging in the breeze, with no actual Power/SWR detection circuitry currently connected.
However, by moving this code into the requestEvent() function, the reported SWR has dropped form 10.0 down to 1.0 - 1.1 - 1.2, and changeable when I tickle the ADC inputs with my finger.
I cannot explain the difference in ADC behavior. Will need to do some further debugging.
I've already run afoul of needing test flags declared as volatile in the Arduino code. Approaching everything with extreme caution and skepticism,
73; Steve, N3SN