SwiftIO

0.0.5

A Swift framework for microcontrollers abstraction layer.
madmachineio/SwiftIO

What's New

SwiftIO 0.0.5

2021-11-07T14:52:43Z

🚀 New Feature

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

SwiftIO

alt Discord

SwiftIO pinout

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.

Documentation

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.

Examples

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.

Description

  • Swift Tools 5.2.0
View More Packages from this Author

Dependencies

  • None
Last updated: Wed Dec 18 2024 17:25:54 GMT-1000 (Hawaii-Aleutian Standard Time)