Skip to content

Commit

Permalink
Use correct separator in keywords.txt (#12)
Browse files Browse the repository at this point in the history
The Arduino IDE requires the use of a 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 and winlinvip committed Sep 22, 2017
1 parent d44f606 commit 5e91c5d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions keywords.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,13 @@
###########################################
# Datatypes (KEYWORD1)
###########################################
SimpleDHT11 SimpleDHT22 KEYWORD1
SimpleDHT11 KEYWORD1
SimpleDHT22 KEYWORD1

###########################################
# Methods and Functions (KEYWORD2)
###########################################
read KEYWORD2
read KEYWORD2

###########################################
# Constants (LITERAL1)
Expand Down

0 comments on commit 5e91c5d

Please sign in to comment.