From fa53d8093fa406384d5081dfdd8c34ee248588b6 Mon Sep 17 00:00:00 2001 From: Colin Grant Date: Tue, 12 May 2020 17:44:47 -0700 Subject: [PATCH] Bring keywords.txt up to date I forgot to update this with some recent additions, and it looks like I'm not the only one! Sync up with classes, enums, functions out of RTClib.h --- keywords.txt | 35 ++++++++++++++++++++++++++++++++++- 1 file changed, 34 insertions(+), 1 deletion(-) diff --git a/keywords.txt b/keywords.txt index f0dff8ff..ff6abc19 100644 --- a/keywords.txt +++ b/keywords.txt @@ -1,5 +1,5 @@ ####################################### -# Syntax Coloring Map For RTC +# Syntax Coloring Map For RTClib ####################################### ####################################### @@ -9,23 +9,40 @@ DateTime KEYWORD1 TimeSpan KEYWORD1 RTC_DS1307 KEYWORD1 +RTC_DS3231 KEYWORD1 +RTC_PCF8523 KEYWORD1 RTC_Millis KEYWORD1 RTC_Micros KEYWORD1 Ds1307SqwPinMode KEYWORD1 +Ds3231SqwPinMode KEYWORD1 +Ds3231Alarm1Mode KEYWORD1 +Ds3231Alarm2Mode KEYWORD1 +Pcf8523SqwPinMode KEYWORD1 +PCF8523TimerClockFreq KEYWORD1 +PCF8523TimerIntPulse KEYWORD1 +Pcf8523OffsetMode KEYWORD1 ####################################### # Methods and Functions (KEYWORD2) ####################################### +isValid KEYWORD2 year KEYWORD2 month KEYWORD2 day KEYWORD2 hour KEYWORD2 +twelveHour KEYWORD2 +isPM KEYWORD2 minute KEYWORD2 second KEYWORD2 dayOfTheWeek KEYWORD2 secondstime KEYWORD2 unixtime KEYWORD2 +days KEYWORD2 +hours KEYWORD2 +minutes KEYWORD2 +seconds KEYWORD2 +totalseconds KEYWORD2 begin KEYWORD2 adjust KEYWORD2 adjustDrift KEYWORD2 @@ -35,6 +52,22 @@ readSqwPinMode KEYWORD2 writeSqwPinMode KEYWORD2 timestamp KEYWORD2 toString KEYWORD2 +readnvram KEYWORD2 +writenvram KEYWORD2 +setAlarm1 KEYWORD2 +setAlarm2 KEYWORD2 +disableAlarm KEYWORD2 +clearAlarm KEYWORD2 +alarmFired KEYWORD2 +getTemperature KEYWORD2 +lostPower KEYWORD2 +initialized KEYWORD2 +enableSecondTimer KEYWORD2 +disableSecondTimer KEYWORD2 +enableCountdownTimer KEYWORD2 +disableCountdownTimer KEYWORD2 +deconfigureAllTimers KEYWORD2 +calibrate KEYWORD2 ####################################### # Constants (LITERAL1)