Swiftpack.co - madmachineio/SwiftIO as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by madmachineio.
madmachineio/SwiftIO 0.0.5
A Swift framework for microcontrollers.
⭐️ 106
🕓 33 weeks ago
.package(url: "https://github.com/madmachineio/SwiftIO.git", from: "0.0.5")


build Discord twitter

A Swift framework for microcontrollers. The SwiftIO board provides a good way to learn Swift code. Write your code in the IDE, download to your board, and you'll get the results in real time if you've had the circuit connected.


The SwiftIO library provides an easy access to communicate with the external circuits simply by invoking the related classes/methods in the MadMachine IDE. You can read or write the digital and analog signal, as well as using the communication protocol.

Library structure

You can obtain the source code of each clasee in the following links.


Before starting to write your project, you can download and run the example codes here to get familiar with the library usage.

  • GetStarted - simple code to learn the basic skill
  • SimpleIO - examples using analog and digital signal
  • AdvancedIO - examples using communication protocle

IDE Installation

Please choose the version according to your operating system and install the IDE following the instructions below.


Stars: 106
Last commit: 2 weeks ago
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.

Release Notes

SwiftIO 0.0.5
33 weeks ago

🚀 New Feature

  • Add public func write(_ data: UnsafeBufferPointer<UInt8>, count: Int? = nil) in SPI class

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics