Go back to setup

Post here first, or if you can't find a relevant section!
Post Reply
saeed144
Posts: 36
Joined: Mon Sep 21, 2020 10:11 am

Go back to setup

Post by saeed144 »

Hi
Is there any way except restart micro controller, to go back to setup() when we are in loop() ?
by fpiSTM » Mon Dec 07, 2020 12:59 pm
Well, it depends on the core you used for the STM32 core you can use the STM32LowPower library.
Go to full post
User avatar
fpiSTM
Posts: 1746
Joined: Wed Dec 11, 2019 7:11 pm
Answers: 91
Location: Le Mans
Contact:

Re: Go back to setup

Post by fpiSTM »

Simply call it in loop.
saeed144
Posts: 36
Joined: Mon Sep 21, 2020 10:11 am

Re: Go back to setup

Post by saeed144 »

fpiSTM wrote: Mon Dec 07, 2020 6:57 am Simply call it in loop.
Thank you
One more question:
How I can put stm32f103 to sleep mode in Arduino IDE?
User avatar
fpiSTM
Posts: 1746
Joined: Wed Dec 11, 2019 7:11 pm
Answers: 91
Location: Le Mans
Contact:

Re: Go back to setup

Post by fpiSTM »

Well, it depends on the core you used for the STM32 core you can use the STM32LowPower library.
Post Reply

Return to “General discussion”