This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to construct any variable retention like PLC systems?

When the power supply shutting down, value of some variables  is important and need to retention. How to construct it?

I used static ,extern, to define this variable, but fail.

Chip board:STM32F0Discovery

0