Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 3511d41

Browse files
committedNov 1, 2019
[README] updates README.md file
1 parent 35f9b58 commit 3511d41

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ Since Swift 5.x supports Swift Package Manager, you only need to add SwiftXBee a
5757
let package = Package(
5858
name: "MyProject",
5959
dependencies: [
60-
.package(url: "https://github.com/samco182/SwiftyXBee", from: "1.0.0"),
60+
.package(url: "https://github.com/samco182/SwiftyXBee", from: "2.0.0-beta1"),
6161
]
6262
targets: [
6363
.target(
@@ -75,7 +75,7 @@ The first thing is to initialize an instance of `SwiftyXBee` with the same UART
7575
```swift
7676
import SwiftyXBee
7777

78-
let serial = SerialConnection(speed: .S9600, bitsPerChar: .Eight, stopBits: .One, parity: .None)
78+
let serial = SerialConnection(speed: .s9600, bitsPerChar: .eight, stopBits: .one, parity: .none)
7979
let xbee = SwiftyXBee(for: .RaspberryPi3, serialConnection: serial)
8080
```
8181
You can also initialize the `XBee` object with the following method:
@@ -84,7 +84,7 @@ import SwiftyXBee
8484

8585
let xbee = SwiftyXBee()
8686
```
87-
This initializer defaults to `.RaspberryPi3` as the selected board and serial connection with `speed: .S9600`, `bitsPerChar: .Eight`, `stopBits: .One`, and `parity: .None)`.
87+
This initializer defaults to `.RaspberryPi3` as the selected board and serial connection with `speed: .s9600`, `bitsPerChar: .eight`, `stopBits: .one`, and `parity: .none)`.
8888

8989
### AT Command Packet
9090
AT-type commands can be sent via API frames to configure your local radio. They can query the settings on the local radio or set parameters. These are all the same commands you typed in transparent/command mode.

0 commit comments

Comments
 (0)
Failed to load comments.