diff --git a/keywords.txt b/keywords.txt new file mode 100644 index 0000000..7a929d7 --- /dev/null +++ b/keywords.txt @@ -0,0 +1,34 @@ +####################################### +# Syntax Coloring Map For OneWireSlave +####################################### + +####################################### +# Datatypes (KEYWORD1) +####################################### + +ReceiveEvent KEYWORD1 +OneWireSlave KEYWORD1 +Pin KEYWORD1 +OWSlave KEYWORD1 + +####################################### +# Methods and Functions (KEYWORD2) +####################################### + +begin KEYWORD2 +end KEYWORD2 +setReceiveCallback KEYWORD2 +setReceiveBitCallback KEYWORD2 +write KEYWORD2 +writeBit KEYWORD2 +stopWrite KEYWORD2 +alarmed KEYWORD2 +crc8 KEYWORD2 + +####################################### +# Constants (LITERAL1) +####################################### + +RE_Reset LITERAL1 +RE_Byte LITERAL1 +RE_Error LITERAL1 diff --git a/library.properties b/library.properties index 4e68401..71c0be7 100644 --- a/library.properties +++ b/library.properties @@ -3,7 +3,7 @@ version=0.2 author=neuoy maintainer=https://github.com/destroyedlolo/OneWireArduinoSlave sentence=Library to create slave 1-wire devices -paragraph= +paragraph= +paragraph=This library allows you to emulate existing 1-wire devices with an Arduino, or to create your own protocol. All low-level details are handled by the library, such as reset detection, ROM matching, byte sending and receiving. category=Device Control url=https://github.com/destroyedlolo/OneWireArduinoSlave architectures=*