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.