Help I am stuck

I am sending the pot values wirelessly, but as I am just scrolling through my code to debug it, I notice that when I turn the pot on my sending BS2 after 255 the recieving BS2p starts from 0001. I checked my variables, and even commented out the offset and scalefactor just to get the raw values and it is doing the same thing. I was told that I would need a D/A but doesnt the stamps do that already? Setup is as follows. On my board of education (receiving end)BS2p, 912Mhz parallax rf transceiver, and a servo that is not being used yet. My homework board (sending end) 10kohm pot, 220ohm resistor, .1mf capacitor, and the other 912Mhz parallax rf transceiver.
SEND CODE:

[code]’ {$STAMP BS2}
’ {$PBASIC 2.5}

SYNCH CON “A”
'dataIN VAR Byte
BAUD CON 84
'rxPin PIN 14
txPin PIN 15
time VAR Word
rcPin PIN 8
'scaleFactor CON 185
'offset CON 500

DO
HIGH rcPin
PAUSE 100
RCTIME rcPin, 1, time
'time = time */ scaleFactor
'time = time + offset
SEROUT txPin, BAUD, [SYNCH, time]
DEBUG HOME, "time = ", DEC5 time
LOOP[/code]
RECIEVE CODE:

[code]’ {$STAMP BS2p}
’ {$PBASIC 2.5}

SYNCH CON “A”
BAUD CON 240
txPin PIN 15
rxPin PIN 14
dataIN VAR Word
time VAR Word
prevTime VAR Word
scaleFactor CON 185
offset CON 500

Receive:
'DO
’ SERIN rxPin, baud, [WAIT(SYNCH), DEC4 dataIN]
’ time = dataIN
’ prevTime = time
’ IF (time > prevTime + 1)
’ DEBUG HOME, DEC4 time
’ ELSEIF (time < prevTime - 1)
’ DEBUG HOME, DEC4 time
’ ELSE
’ DEBUG HOME, time
’ ENDIF
’ PAUSE 500
'LOOP

DO
SERIN rxPin, baud, [WAIT(SYNCH), dataIN]
time = dataIN
time = time */ scaleFactor
time = time + offset
DEBUG HOME, DEC4 time
LOOP[/code]

i’m sorry but most of what you just posted did not make any sense. could you please give us more context? also, Stamps don’t have ADC or D/A converters. If you want an analog output, you will need to use a D/A or PMW and a capacitor.

please more context.

What is it your trying to do? Read the value (so to speak) of a pot and send that value, wirelessly, to a receiver and then what?