Skip to content

Latest commit

 

History

History
38 lines (29 loc) · 3.7 KB

README.md

File metadata and controls

38 lines (29 loc) · 3.7 KB

Arduino_Threads/docs

The Arduino threading APIs brings multi-threading to the world of Arduino. If you're new to the concept of threads we suggest you have first a look at the Threading Basics document.

The following Arduino architectures and boards are currently supported:

Tooling

Threading with the above mentioned Arduino cores can be achieved by leveraging the Arduino_Threads library in combination with the Arduino Command Line Interface (arduino-cli).

For those who are unsure how to use the Arduino CLI in combination with multi-threading take a look a condensed getting started guide. There's also the comprehensive arduino-cli documentation to consider.

Download a preliminary, pre-built arduino-cli binary (experimental) or patched Arduino IDE (very experimental) for your operating system that supports threading:

Platform Download CLI Download IDE
MacOS_64Bit arduino-cli Arduino IDE
Linux_32Bit arduino-cli Arduino IDE
Linux_64Bit arduino-cli Arduino IDE
Linux_ARMv6 arduino-cli
Linux_ARMv7 arduino-cli Arduino IDE
Windows_32Bit arduino-cli
Windows_64Bit arduino-cli Arduino IDE

Table of Contents

In the following documents you will find more information about the topics covered by this library.

  1. Threading Basics
  2. Data exchange between threads
  3. Threadsafe Serial
  4. Threadsafe Wire
  5. Threadsafe SPI