Skip to content

Commit 45e0206

Browse files
committed
Update files
1 parent a4dc01a commit 45e0206

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

LocoNetKS.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,10 @@ class LocoNetClassKS {
3838
public:
3939
LocoNetClassKS() {};
4040

41+
// send a loconetmessage with one-byte-length
4142
LN_STATUS send(uint8_t OpCode);
4243

44+
// send switch data with the given OPCODE (B0, B1, B2)
4345
LN_STATUS sendSwitchState(uint16_t ui16_swAdr, boolean b_swOn, boolean b_swDirection, uint8_t ui8_OPC);
4446

4547
protected:

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,12 @@
33
This is a simple library with additional functions I missed in the original LocoNET-library for usage with Arduino-platform.<br>
44

55
In addition, I copied the original LocoNetFastClockClass and modified it.<br>
6-
This was necessary because the original class doesnot work for me during the development of the [Nebenuhr](Nebenuhr), a FastClock-Slave which has to work with [JMRI](https://www.jmri.org/)<br>
6+
This was necessary because the original class doesnot work for me during the development of the [Nebenuhr](http://www.github.com/Kruemelbahn/Nebenuhr), a FastClock-Slave which should work with [JMRI](https://www.jmri.org/)<br>
77

88
Necessary base-library can be found on https://github.com/mrrwa/LocoNet
99

1010
Tested on ATmega328.
11+
12+
### Usage
13+
- see examples delivered with original library.
14+
- for added functions please read the comment in [LocoNetKS.h](LocoNetKS.h)

0 commit comments

Comments
 (0)