From 005ddbc121df73dea47c0279c7e9b29f4674cee0 Mon Sep 17 00:00:00 2001 From: per1234 Date: Sun, 9 Sep 2018 00:30:49 -0700 Subject: [PATCH] Use correct field separator in keywords.txt The Arduino IDE requires the use of a single true tab separator between the keyword name and identifier. When spaces are used rather than a true tab the keyword is not highlighted. Reference: https://github.com/arduino/Arduino/wiki/Arduino-IDE-1.5:-Library-specification#keywords --- keywords.txt | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/keywords.txt b/keywords.txt index 5f85cec..a85f92a 100644 --- a/keywords.txt +++ b/keywords.txt @@ -12,26 +12,26 @@ PCF857X KEYWORD1 # Methods and Functions (KEYWORD2) ####################################### -begin KEYWORD2 -pinMode KEYWORD2 -digitalWrite KEYWORD2 -digitalRead KEYWORD2 -write KEYWORD2 -read KEYWORD2 -clear KEYWORD2 -set KEYWORD2 -toggle KEYWORD2 -blink KEYWORD2 -attachInterrupt KEYWORD2 -detachInterrupt KEYWORD2 -disableInterrupt KEYWORD2 -enableInterrupt KEYWORD2 -checkForInterrupt KEYWORD2 -pullUp KEYWORD2 -pullDown KEYWORD2 +begin KEYWORD2 +pinMode KEYWORD2 +digitalWrite KEYWORD2 +digitalRead KEYWORD2 +write KEYWORD2 +read KEYWORD2 +clear KEYWORD2 +set KEYWORD2 +toggle KEYWORD2 +blink KEYWORD2 +attachInterrupt KEYWORD2 +detachInterrupt KEYWORD2 +disableInterrupt KEYWORD2 +enableInterrupt KEYWORD2 +checkForInterrupt KEYWORD2 +pullUp KEYWORD2 +pullDown KEYWORD2 ####################################### # Constants (LITERAL1) ####################################### -INPUT_PULLUP LITERAL1 +INPUT_PULLUP LITERAL1