Getting started with SwiftIO

Click for: original source

SwiftIO is an electronic circuit board that runs Swift on the bare metal. It can control sensors, displays, lights, motors and more. By Tibor Bödecs.

MadMachine’s SwiftIO board is an Arduino-like system, but it can run Swift code natively on the hardware. Swift is a great programming language for education purposes, it is a modern language with a JavaScript-like syntax that is easy to learn and understand. Swift is safe and efficient, this combination makes it a perfect candidate for embedded systems. The SwiftIO board enables us regular Swift / iOS developers to build IoT projects using our favorite programming language.

The board itself has a small footprint, it’s just about 1,57” x 2,36” (4cm x 6cm) big.

It’s quite a powerful microcontroller. It is definitely the most affordable Swift language learning device. It can be ideal for STEM education purposes for students who want to see how to build electronic circuits and get some basic Swift programming skills at the same time.

The article main parts:

  • Technical specifications (Arm® Cortex®-M7 core @600MHz)
  • Ports, communication, architecture
  • The SwiftIO environment
  • Installing the MadMachine SDK & CLI
  • The MadMachine toolchain
  • The SwiftIO framework
  • Using Xcode

… and more. You can build some really fun stuff with SwiftIO, it’s a perfect tool for learning how electric circuits work. Good read!

[Read More]

Tags swiftlang ios app-development robotics