-
Hello I use the bluepill with simple example code from stm32duino RTC library version 1.2.0 (see below). What am I doing wrong? Thank you
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
HI @epikao, In the SimpleRTC example, did you remove the following lines ?
|
Beta Was this translation helpful? Give feedback.
-
For what it is worth, I tested this examples/SimpleRTC code on my Blue Pill, with the clock source set to |
Beta Was this translation helpful? Give feedback.
-
Sorry for the inconvenience. It was my battery. |
Beta Was this translation helpful? Give feedback.
Sorry for the inconvenience. It was my battery.
I used an old CR2032 battery. Although I measured a voltage of approx. 2.8V at Vbat (with a simple multimeter) and without power supply, this measurement is probably not meaningful.
With a new battery it works now.
I think that if I had measured with an oscilloscope, short voltage interruptions would have been measurable...