Emulating a 18X reset line on a 18M2

fernando_g

Senior Member
The title says it all. I have an environmental data logger which I built many moons ago; and I accidentally damaged the 18X chip.
Of course this chip is obsolete and superseded by the 18M2, a much more capable device.
But it lacks the dedicated hard reset pin, which I use in the design.
Is there a specific solution to emulate that? Which clears the registers and starts the program from the first line?
 

Jack Burns

New Member
How about an interrupt to detect the reset switch (pinC.5 18M2), and then issue a RESET command to restart the PICAXE (all variables, stack etc will be reset).
 

fernando_g

Senior Member
Jack;
As a fact, i used your suggestion to implement a reset on a 14M2, a device which doesn’t have a reset pin.
Works like a charm!
 
Top