Good day
I need 4 outputs and 2 inputs on a 8M2. Will it be possible and where must I insert the "disconnect’ command" and how do I do the ‘hard-reset’ as described below
This is what I found in the manual:
Using the Serial In pin as a general input pin
On M2 and X2 parts the ‘serial in’ pin may be used as a general purpose input,
connected to a switch as shown.
However there are certain special conditions to this use:
1) The program must contain a ‘disconnect’ command. This command prevents
the PICAXE chip from scanning the serial in pin for new program downloads.
If you do not add this command the PICAXE will reset when the switch is
pressed.
2) After a ‘disconnect’ command is used it will be necessary to perform a power on
‘hard-reset’ to download a new program
3) The switch must be open during a new program download.
Output pin 0 (leg 7) is used during the program download, but can also be used as a general purpose output once the download is complete"
Regards
Vissie
I need 4 outputs and 2 inputs on a 8M2. Will it be possible and where must I insert the "disconnect’ command" and how do I do the ‘hard-reset’ as described below
This is what I found in the manual:
Using the Serial In pin as a general input pin
On M2 and X2 parts the ‘serial in’ pin may be used as a general purpose input,
connected to a switch as shown.
However there are certain special conditions to this use:
1) The program must contain a ‘disconnect’ command. This command prevents
the PICAXE chip from scanning the serial in pin for new program downloads.
If you do not add this command the PICAXE will reset when the switch is
pressed.
2) After a ‘disconnect’ command is used it will be necessary to perform a power on
‘hard-reset’ to download a new program
3) The switch must be open during a new program download.
Output pin 0 (leg 7) is used during the program download, but can also be used as a general purpose output once the download is complete"
Regards
Vissie