counter memory
does anyone know if their is a way for the pdm to hold the count of a counter after it has been powered down. for example, i have a loop around counter for an electric ebrake. 0 is disable ebrake, 2 is nothing 3 is apply and 4 is keep button light on. 2 and 4 are holders after a set time or current limit is reached. my issue I'm having is if i apply the ebrake it will hold the button light on and ebrake on. but if i cycle the ignition off and back on the ebrake stay active because with ignition on it cycles the counter to 2 which is an empty holder. but in order to get the light to come on stating the ebrake is still applied you must press the button again and it will move counter to 3 run ebrake calipers and the…


sorry let me edit the numbers on counter
0 disable ebrake
1nothing/ hold
2 apply ebrake
3 button light on/ hold
and 4 is the loop around value