This avoids attempting to open a serial port multiple times, which can be problematic if a blocking connection is used. Instead settings and port connection should be handled prior to designated inititializer.
26 lines
609 B
Plaintext
26 lines
609 B
Plaintext
{
|
|
"object": {
|
|
"pins": [
|
|
{
|
|
"package": "SwiftSerial",
|
|
"repositoryURL": "https://vato.ddns.net/gitlab/vato007/SwiftSerial.git",
|
|
"state": {
|
|
"branch": "master",
|
|
"revision": "0e824cc38c6802e69543d0c1406d34babfd68e2e",
|
|
"version": null
|
|
}
|
|
},
|
|
{
|
|
"package": "SwiftyGPIO",
|
|
"repositoryURL": "https://github.com/uraimo/SwiftyGPIO.git",
|
|
"state": {
|
|
"branch": null,
|
|
"revision": "2038228e020cf12a62012b1ebe36bb9b8e6fdb6a",
|
|
"version": "1.2.5"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"version": 1
|
|
}
|