20M2 serial pins

tony_g

Senior Member
i just wanted to double check this is correct.

in the manual for commands it states on the info for the "disconnect" command that it is applicable to all the M2 chips but looking at the pinouts in the first getting started manual they are shown as just the serial in/out download pins.

just wanted to verify this as up till now i have never used anything more than a 14m2 for my projects but seeing as i have the 20m2 in dip and smd i thought i may as well put them to use.

time to add some x2 variants to my stock lol

thanks, tony
 

Hemi345

Senior Member
I'm pretty sure serout pin can be mapped as A.0, like the 20x2.

Not sure serin pin can be though... maybe D.0? Just a guess.
 

MPep

Senior Member
@Hemi,

The download pins, which cannot be remapped, refer to SERTXD and SERRXD commands.
SERIN and SEROUT are can be allocated to whichever pins are capable of the job.

DISCONNECT is used to 'stop' the PICAXE from wasting time looking for a potential download of the new program. Therefore it is only applicable to the download pins.
 

hippy

Technical Support
Staff member
Even more specific; DISCONNECT only relates to the Download Serial In pin. You only need to use DISCONNECT if using the Download Serial In pin as a digital input.
 
Top