The Arduino_PortentaMachineControl library enables efficient management of Portenta Machine Control features.
Important
This library has officially replaced the older Arduino_MachineControl library.
Follow these steps to install the library in Arduino IDE:
-
Open Library Manager from the sidebar or by selecting Tools > Manage Libraries in the top menu bar.
-
Search for “Arduino_PortentaMachineControl” by Arduino.
-
Click Install.
-
If asked whether to install library dependencies, select Install all (recommended).
The library includes examples sketches to help you get started. To open them, follow these steps:
-
Select File > Examples in the top menu bar.
-
Choose “Examples” (under Examples for Custom Libraries)
-
Select the example you want to open.