Hello.I have upgraded frm 08M2 to 28x1.When I use code for 08M2 with 28x1 it prints out letters not numbers using a pot connected to circuit.Why does this happen.
The circuit is frm Picaxe Getting started section with pot connected to + and - and centre pin to A0 pin 2.ADC.Code is simple adc readadc10 0,w0. Serout 0,n2400,(#w0,13,10). Pause 100. Goto main.......
Sounds like a processor speed change and thus a baud rate mismatch as others have described; the 'letters not numbers' are possibly the hexadecimal codes for the letters as they appear at the wrong baud rates.
However, having specified N2400, that should be the baud rate used by the SEROUT no matter whether an 08M2 or 28X1 is used.