Alexandr Zarubkin
84c5a86109
Changed prescaler variable type to uint32. Fixes #520 .
...
Signed-off-by: Alexandr Zarubkin <me21@yandex.ru>
2018-05-21 11:47:38 +03:00
stevstrong
d33e50ab0d
Update BluePill-RTClock-test.ino
...
fix weekday, see #498 .
2018-04-13 23:42:46 +02:00
Ken Willmott
7374108bd4
fix PR#487 and #488
2018-04-10 10:37:26 -04:00
Ken Willmott
463db9b0bf
fix PR #487
...
Implements the needed correction in PR #487 , modifies get method with no change to set method. Exor comparison changed to equality comparison for readability.
2018-04-10 09:55:04 -04:00
Roger Clark
9128a78265
Merge branch 'KenWillmott-patch-1' of https://github.com/KenWillmott/Arduino_STM32 into KenWillmott-KenWillmott-patch-1
2018-04-01 16:27:26 +10:00
Roger Clark
9fcd06e879
Merge branch 'stevstrong-patch-7'
2018-04-01 15:48:28 +10:00
Roger Clark
845508ee19
Merge branch 'aster94-master'
2018-04-01 15:03:36 +10:00
Roger Clark
2578bf00cb
Merge pull request #438 from JiriBilek/master
...
Fixing now() function in RTClock.h
2018-03-28 13:37:01 +11:00
Ken Willmott
c6ef07affe
Update rtc_util.c
...
Modify rtc_get_count() and rtc_get_divider() to fix non-atomic accesses to RTC counter registers
2018-02-10 18:52:15 -05:00
Jiri Bilek
5f6c8ef670
Fixed indentation
2018-02-03 14:07:05 +01:00
Jiri Bilek
35e0a6453a
Fixing now() function
...
The now() function was defined using the #define directive. That is
wrong as it prevents using the keyword "now" in other situations.
2018-02-03 13:15:56 +01:00
Ken Willmott
4b6a6e8077
Update BluePill-RTClock-test.ino
...
Clarify English documentation by changing all occurrences of "10 bits" to "10 digits", referring to Epoch time.
2018-01-31 08:38:14 -05:00
Vincenzo Gibiino
632af3ec9f
stm32duino now uses __IO
2018-01-24 20:33:11 +01:00
Roger Clark
6f1429175c
Manually committed RTClock files, due to problems with PR https://github.com/rogerclarkmelbourne/Arduino_STM32/pull/428
2018-01-24 07:39:35 +11:00
stevstrong
000b6ffcd9
Update BluePill-RTClock-test.ino
...
- small alignment fix.
2017-12-10 02:17:58 +01:00
stevstrong
f21895e48d
Update BluePill-RTClock-test.ino
...
- corrected typo in comments
- reworked serial date input
2017-12-10 02:07:29 +01:00
stevstrong
75f21e3194
Update BluePill-RTClock-test.ino
...
corrected text alignment (again)
2017-12-09 21:05:47 +01:00
stevstrong
f8b7a7ab14
Update BluePill-RTClock-test.ino
...
make compiler happy
2017-12-09 21:04:07 +01:00
stevstrong
e70309ae78
Update BluePill-RTClock-test.ino
...
- tabs replaced by spaces for a better visual text alignment
2017-12-09 20:56:48 +01:00
stevstrong
f245065179
Update BluePill-RTClock-test.ino
...
- use build time for RTC
- reworked serial monitor output to use sprintf
- some fixes + cosmetics
2017-12-09 20:51:09 +01:00
csnol
588f9db697
update
2017-10-19 18:31:23 +08:00
csnol
4870e27855
Update
2017-10-19 17:26:42 +08:00
csnol
c741afa74a
Update TimeZone function
...
Add TimeZone(UnixTime, HourOffset, MinuteOffset)
2017-10-19 17:23:48 +08:00
csnol
9f5cdd2d24
updated
2017-10-18 21:45:19 +08:00
csnol
a89d0b935b
Half-hour TimeZone supported
2017-10-18 21:42:31 +08:00
csnol
c25957ee21
Add removeAlarm function
2017-09-14 20:47:12 +08:00
csnol
fa7bcde3cd
Update example for Chinese friends. timezone and filename error
2017-09-14 16:05:28 +08:00
csnol
2d6abe679a
Add keywords for new functions
2017-09-14 15:05:42 +08:00
csnol
ed797d43e5
Tested on BluePill for new function of RTC
2017-09-14 00:03:55 +08:00
csnol
6be069cdb6
change TZ from unit_8 to int, negatives timezone
...
usage: localtime = TimeZone(UnixTime, -7); // CA USA = -7
2017-09-13 11:02:24 +08:00
csnol
30f8527eaa
added TimeZone(time_t xxx, timezone);
...
Usage:
time_t localtime;
localtime = TimeZone(UnixTime, 8); // Beijing timezone = 8
2017-09-13 10:53:08 +08:00
csnol
a87ad87fa7
add attachAlarmInterrupt and detachAlarmInterrupt
2017-09-13 04:10:25 +08:00
csnol
7752fc68f2
add attachAlarmInterrupt() detachAlarmInterrupt()
2017-09-13 04:08:04 +08:00
csnol
d53cacdb1e
Update RTClock.cpp
2017-08-30 23:37:41 +08:00
csnol
6c0be70f2e
Update RTClock.cpp
2017-08-30 23:28:01 +08:00
csnol
6e92ddd8bc
Add STM32F103-RTC-Serial-Set.jpg
2017-08-29 10:30:27 -05:00
csnol
27f8e127a4
Create a RTC example for new library.
2017-08-29 23:13:02 +08:00
csnol
fbe6264003
Rewrite the RTClock library.
2017-08-29 10:07:42 -05:00
Roger Clark
76157ad751
Updated 'category' in library.properties files, to shop the IDE complaining that this key is missing
2016-05-03 20:44:18 +10:00
rogerclarkmelbourne
536cec8f5d
Various changes to boards.txt and some libraries, so that things will compile under IDE 1.6.6 Note. There are still loads of warnings when you compile - which look like they may be caused by the IDE using a new version of GCC, but at least it now compiles
2015-10-09 17:18:38 +11:00
rogerclarkmelbourne
f5b2940a49
Minor change to RTClock library keywords
2015-05-23 18:23:14 +10:00
rogerclarkmelbourne
a47f46f34a
Fixed issue with duplicate keywords in RTClock library
2015-05-23 11:21:26 +10:00
rogerclarkmelbourne
fd224ab288
Added working version of RTClock, thanks to Ray and @ahull etc
2015-05-23 11:19:16 +10:00
Roger Clark
d1950f0aaf
Moved untested and probably not working libraroes to a 'Untested' subfolder within libraries
2015-02-25 08:02:07 +11:00
Roger Clark
5f83c13285
renamed top level folder STM32F1XX to STM32F1 to correspond to other top level folder names e.g. STM32F3 and STM32F4
2015-02-24 20:13:04 +11:00