Skip to content
This repository has been archived by the owner on Apr 10, 2024. It is now read-only.

Commit

Permalink
Use correct separator in keywords.txt
Browse files Browse the repository at this point in the history
The Arduino IDE currently requires the use of a single true tab separator between the name and identifier. Without this tab the keyword is not highlighted.

Reference:
https://github.com/arduino/Arduino/wiki/Arduino-IDE-1.5:-Library-specification#keywords
  • Loading branch information
per1234 authored Apr 27, 2018
1 parent 9fdba92 commit 742a92d
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions keywords.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,16 @@ SensirionESS KEYWORD1
#######################################

initSensors KEYWORD2
measureRHT KEYWORD2
measureIAQ KEYWORD2
measureRHT KEYWORD2
measureIAQ KEYWORD2
isInitialized KEYWORD2
getTemperature KEYWORD2
getTemperature KEYWORD2
getHumidity KEYWORD2
getProductType KEYWORD2
getFeatureSetVersion KEYWORD2
getProductType KEYWORD2
getFeatureSetVersion KEYWORD2
getTVOC KEYWORD2
getECO2 KEYWORD2
getError KEYWORD2
getError KEYWORD2
setLedRYG KEYWORD2
remainingWaitTimeMS KEYWORD2

Expand All @@ -33,9 +33,9 @@ remainingWaitTimeMS KEYWORD2
#######################################
# Constants (LITERAL1)
#######################################
LED_RED LITERAL1
LED_YEL LITERAL1
LED_GRN LITERAL1
LED_RED LITERAL1
LED_YEL LITERAL1
LED_GRN LITERAL1

PRODUCT_TYPE_SGP30 LITERAL1
PRODUCT_TYPE_SGPC3 LITERAL1
PRODUCT_TYPE_SGP30 LITERAL1
PRODUCT_TYPE_SGPC3 LITERAL1

0 comments on commit 742a92d

Please sign in to comment.