are we still talking about a ds3231 ?

if so then if chat gpt leads you to this there something terribly wrong


DO
i2cwrite i2dta, i2clk, $48,$01,[132,131] 'write config
pause 10
i2cwrite i2dta, i2clk, $48,$0 'convert
pause 10
i2cread i2dta, i2clk, $48,[data1,data2] 'read data
serout2 portc.5,90, ["adc=",dec data1, dec data2,13,10]
LOOP
this is incorrect on so many levels starting with device address, conversion time and virtually every thing from there on