Skip to main content

General Guidelines

The Smart Multibox uses Micropython as its scripting language. General information can be found on the Micropython website. Most reference materials that cover Python 3 will also apply.

As of this writing, the Smart Multibox uses Micropython 1.24.1

The Micropython build is fairly minimal, most optional features have not been included, for example, file I/O. In addition to the minimal Micropython configuration, these are the features that have been included:

  • bytearrays
  • floating point math
  • The array module
  • The collections module
  • The random module

This section will explain the extensions that have been added to Micropython for the sending, receiving and manipulation of MIDI messages.

Callback Driven Operation

The Smart Multibox is designed to primarily use callback functions. User code should not implement loops that run for a long time or infinitely. Doing so will prevent the Smart Multibox from operating properly. Callbacks are available for a number of events, including incoming MIDI messages, button presses and timer ticks. See the Callbacks section for more details.