Hi Mike,
After reading the bed ADC reading via SPI into raw_counts_bed you could then place the integer ADC reading into persist variable 150 with:I have looked at the KnozzControlTemps programme and can see that it almost does what I want, but am struggling with defining the analog values and writing to the persist array.
persist.UserData[150] = raw_counts_bed;
HTH