rearange as arduino-lib
This commit is contained in:
parent
13ff131110
commit
5b3c090601
@ -2,7 +2,7 @@
|
|||||||
#define _OneWireSlave_h_
|
#define _OneWireSlave_h_
|
||||||
|
|
||||||
#include "Arduino.h"
|
#include "Arduino.h"
|
||||||
#include "LowLevel.h"
|
#include "utility/LowLevel.h"
|
||||||
|
|
||||||
class OneWireSlave
|
class OneWireSlave
|
||||||
{
|
{
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
#include "Arduino.h"
|
#include "Arduino.h"
|
||||||
#include "LowLevel.h"
|
|
||||||
#include "OneWireSlave.h"
|
#include "OneWireSlave.h"
|
||||||
|
|
||||||
// This is the pin that will be used for one-wire data (depending on your arduino model, you are limited to a few choices, because some pins don't have complete interrupt support)
|
// This is the pin that will be used for one-wire data (depending on your arduino model, you are limited to a few choices, because some pins don't have complete interrupt support)
|
34
keywords.txt
Normal file
34
keywords.txt
Normal file
@ -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
|
9
library.properties
Normal file
9
library.properties
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
name=OneWireSlave
|
||||||
|
version=0.1
|
||||||
|
author=Youen Toupin, aka neuoy
|
||||||
|
maintainer=Youen Toupin, aka neuoy
|
||||||
|
sentence=Communicate using the Dallas one-wire protocol, where the Arduino takes the role of a slave.
|
||||||
|
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=Signal Input/Output
|
||||||
|
url=https://github.com/neuoy/OneWireArduinoSlave
|
||||||
|
architectures=*
|
Loading…
Reference in New Issue
Block a user