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.
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.
Please choose the version according to your operating system and install the IDE following the instructions below.
|Last commit: 2 weeks ago|
public func write(_ data: UnsafeBufferPointer<UInt8>, count: Int? = nil)in SPI class