Skip to content

Vaidios/swift-gpio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GPIO pins on linux using new API

Installation

Xcode Projects

Xcode installation is not officialy supported, as this library is for linux only.

Swift Package Manager Projects

You can add swift-gpio as a package dependency in your Package.swift file:

let package = Package(
    //...
    dependencies: [
        .package(
            url: "https://github.com/Vaidios/swift-gpio.git",
            branch: "main"
        ),
    ],
    //...
)

From there, refer to the GPIO "product" delivered by the swift-gpio "package" inside of any of your project's target dependencies:

targets: [
    .target(
        name: "YourLibrary",
        dependencies: [
            .product(
                name: "GPIO",
                package: "swift-gpio"
            ),
        ],
    ),
]

💻 Developing

Requirements

  • Swift 5.8

🏷 License

swift-gpio is available under the MIT license. See the LICENSE file for more info.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published