Skip to content
This repository was archived by the owner on Feb 28, 2024. It is now read-only.

Commit a2a31d3

Browse files
Merge pull request #118 from leonardocavagnis/deprecation
Deprecate library
2 parents 688d157 + 87736c2 commit a2a31d3

File tree

21 files changed

+238
-3
lines changed

21 files changed

+238
-3
lines changed

Diff for: README.md

+8-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
1-
# Portenta Machine Control Library for Arduino
1+
# [Deprecated] Portenta Machine Control Library for Arduino
2+
3+
> [!WARNING]
4+
> This library is deprecated and no longer actively maintained.
5+
>
6+
> We recommend transitioning to the [Arduino_PortentaMachineControl](https://github.com/arduino-libraries/Arduino_PortentaMachineControl) library for ongoing support, new features and contributions. If you need assistance with migration, refer to the [migration guide](https://docs.arduino.cc/tutorials/portenta-machine-control/pmc-arduino-library).
7+
>
8+
> Please note that the [examples](./examples/) provided with this library are not compatible with the new library.
29
310
[![Check Arduino status](https://github.com/arduino-libraries/Arduino_MachineControl/actions/workflows/check-arduino.yml/badge.svg)](https://github.com/arduino-libraries/Arduino_MachineControl/actions/workflows/check-arduino.yml)
411
[![Compile Examples status](https://github.com/arduino-libraries/Arduino_MachineControl/actions/workflows/compile-examples.yml/badge.svg)](https://github.com/arduino-libraries/Arduino_MachineControl/actions/workflows/compile-examples.yml)

Diff for: examples/Analog_Out/Analog_Out.ino

+12
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
/*
2+
* IMPORTANT NOTE:
3+
*
4+
* This example is associated with the deprecated Arduino_MachineControl library.
5+
* We have introduced a new and improved library called Arduino_PortentaMachineControl, which offers enhanced features
6+
* and ongoing support.
7+
* We encourage you to update your projects to use the new library.
8+
*
9+
* The functions and syntax in this example are not compatible with Arduino_PortentaMachineControl.
10+
* Please refer to the migration guide for necessary adjustments.
11+
*/
12+
113
/*
214
Machine Control - Analog out Example
315

Diff for: examples/Analog_input/Analog_input_0_10V/Analog_input_0_10V.ino

+12
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
/*
2+
* IMPORTANT NOTE:
3+
*
4+
* This example is associated with the deprecated Arduino_MachineControl library.
5+
* We have introduced a new and improved library called Arduino_PortentaMachineControl, which offers enhanced features
6+
* and ongoing support.
7+
* We encourage you to update your projects to use the new library.
8+
*
9+
* The functions and syntax in this example are not compatible with Arduino_PortentaMachineControl.
10+
* Please refer to the migration guide for necessary adjustments.
11+
*/
12+
113
/*
214
Machine Control - Analog in 0 - 10 V Example
315

Diff for: examples/Analog_input/Analog_input_4_20mA/Analog_input_4_20mA.ino

+12
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
/*
2+
* IMPORTANT NOTE:
3+
*
4+
* This example is associated with the deprecated Arduino_MachineControl library.
5+
* We have introduced a new and improved library called Arduino_PortentaMachineControl, which offers enhanced features
6+
* and ongoing support.
7+
* We encourage you to update your projects to use the new library.
8+
*
9+
* The functions and syntax in this example are not compatible with Arduino_PortentaMachineControl.
10+
* Please refer to the migration guide for necessary adjustments.
11+
*/
12+
113
/*
214
Machine Control - Analog in 4 - 20 mA Example
315

Diff for: examples/Analog_input/Analog_input_NTC/Analog_input_NTC.ino

+12
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
/*
2+
* IMPORTANT NOTE:
3+
*
4+
* This example is associated with the deprecated Arduino_MachineControl library.
5+
* We have introduced a new and improved library called Arduino_PortentaMachineControl, which offers enhanced features
6+
* and ongoing support.
7+
* We encourage you to update your projects to use the new library.
8+
*
9+
* The functions and syntax in this example are not compatible with Arduino_PortentaMachineControl.
10+
* Please refer to the migration guide for necessary adjustments.
11+
*/
12+
113
/*
214
Machine Control - Analog in NTC Example
315

Diff for: examples/CAN/ReadCan/ReadCan.ino

+12
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
/*
2+
* IMPORTANT NOTE:
3+
*
4+
* This example is associated with the deprecated Arduino_MachineControl library.
5+
* We have introduced a new and improved library called Arduino_PortentaMachineControl, which offers enhanced features
6+
* and ongoing support.
7+
* We encourage you to update your projects to use the new library.
8+
*
9+
* The functions and syntax in this example are not compatible with Arduino_PortentaMachineControl.
10+
* Please refer to the migration guide for necessary adjustments.
11+
*/
12+
113
/*
214
CAN Read Example
315

Diff for: examples/CAN/WriteCan/WriteCan.ino

+12
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
/*
2+
* IMPORTANT NOTE:
3+
*
4+
* This example is associated with the deprecated Arduino_MachineControl library.
5+
* We have introduced a new and improved library called Arduino_PortentaMachineControl, which offers enhanced features
6+
* and ongoing support.
7+
* We encourage you to update your projects to use the new library.
8+
*
9+
* The functions and syntax in this example are not compatible with Arduino_PortentaMachineControl.
10+
* Please refer to the migration guide for necessary adjustments.
11+
*/
12+
113
/*
214
CAN Write Example
315

Diff for: examples/Digital_output/Digital_output.ino

+12
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
/*
2+
* IMPORTANT NOTE:
3+
*
4+
* This example is associated with the deprecated Arduino_MachineControl library.
5+
* We have introduced a new and improved library called Arduino_PortentaMachineControl, which offers enhanced features
6+
* and ongoing support.
7+
* We encourage you to update your projects to use the new library.
8+
*
9+
* The functions and syntax in this example are not compatible with Arduino_PortentaMachineControl.
10+
* Please refer to the migration guide for necessary adjustments.
11+
*/
12+
113
/*
214
Machine Control - Digital Output Example
315

Diff for: examples/Digital_programmable/CombinedIOExpander/CombinedIOExpander.ino

+12
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
/*
2+
* IMPORTANT NOTE:
3+
*
4+
* This example is associated with the deprecated Arduino_MachineControl library.
5+
* We have introduced a new and improved library called Arduino_PortentaMachineControl, which offers enhanced features
6+
* and ongoing support.
7+
* We encourage you to update your projects to use the new library.
8+
*
9+
* The functions and syntax in this example are not compatible with Arduino_PortentaMachineControl.
10+
* Please refer to the migration guide for necessary adjustments.
11+
*/
12+
113
/*
214
Machine Control - IOExpander Read And Write Example
315

Diff for: examples/Digital_programmable/Digital_input/Digital_input.ino

+12
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
/*
2+
* IMPORTANT NOTE:
3+
*
4+
* This example is associated with the deprecated Arduino_MachineControl library.
5+
* We have introduced a new and improved library called Arduino_PortentaMachineControl, which offers enhanced features
6+
* and ongoing support.
7+
* We encourage you to update your projects to use the new library.
8+
*
9+
* The functions and syntax in this example are not compatible with Arduino_PortentaMachineControl.
10+
* Please refer to the migration guide for necessary adjustments.
11+
*/
12+
113
/*
214
Machine Control - Digital Input Example
315

Diff for: examples/Digital_programmable/GPIO_programmable/GPIO_programmable.ino

+12
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
/*
2+
* IMPORTANT NOTE:
3+
*
4+
* This example is associated with the deprecated Arduino_MachineControl library.
5+
* We have introduced a new and improved library called Arduino_PortentaMachineControl, which offers enhanced features
6+
* and ongoing support.
7+
* We encourage you to update your projects to use the new library.
8+
*
9+
* The functions and syntax in this example are not compatible with Arduino_PortentaMachineControl.
10+
* Please refer to the migration guide for necessary adjustments.
11+
*/
12+
113
/*
214
Machine Control - IOExpander Read And Write Example
315

Diff for: examples/Encoders/Encoders.ino

+12
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
/*
2+
* IMPORTANT NOTE:
3+
*
4+
* This example is associated with the deprecated Arduino_MachineControl library.
5+
* We have introduced a new and improved library called Arduino_PortentaMachineControl, which offers enhanced features
6+
* and ongoing support.
7+
* We encourage you to update your projects to use the new library.
8+
*
9+
* The functions and syntax in this example are not compatible with Arduino_PortentaMachineControl.
10+
* Please refer to the migration guide for necessary adjustments.
11+
*/
12+
113
#include <Arduino_MachineControl.h>
214

315
using namespace machinecontrol;

Diff for: examples/RS232/RS232.ino

+12
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
/*
2+
* IMPORTANT NOTE:
3+
*
4+
* This example is associated with the deprecated Arduino_MachineControl library.
5+
* We have introduced a new and improved library called Arduino_PortentaMachineControl, which offers enhanced features
6+
* and ongoing support.
7+
* We encourage you to update your projects to use the new library.
8+
*
9+
* The functions and syntax in this example are not compatible with Arduino_PortentaMachineControl.
10+
* Please refer to the migration guide for necessary adjustments.
11+
*/
12+
113
/*
214
RS232 communication
315

Diff for: examples/RS485_fullduplex/RS485_fullduplex.ino

+12
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
/*
2+
* IMPORTANT NOTE:
3+
*
4+
* This example is associated with the deprecated Arduino_MachineControl library.
5+
* We have introduced a new and improved library called Arduino_PortentaMachineControl, which offers enhanced features
6+
* and ongoing support.
7+
* We encourage you to update your projects to use the new library.
8+
*
9+
* The functions and syntax in this example are not compatible with Arduino_PortentaMachineControl.
10+
* Please refer to the migration guide for necessary adjustments.
11+
*/
12+
113
/*
214
RS485 Full duplex communication
315

Diff for: examples/RS485_halfduplex/RS485_halfduplex.ino

+12
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
/*
2+
* IMPORTANT NOTE:
3+
*
4+
* This example is associated with the deprecated Arduino_MachineControl library.
5+
* We have introduced a new and improved library called Arduino_PortentaMachineControl, which offers enhanced features
6+
* and ongoing support.
7+
* We encourage you to update your projects to use the new library.
8+
*
9+
* The functions and syntax in this example are not compatible with Arduino_PortentaMachineControl.
10+
* Please refer to the migration guide for necessary adjustments.
11+
*/
12+
113
/*
214
RS485 Half Duplex communication
315

Diff for: examples/RTC/RTC.ino

+12
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
/*
2+
* IMPORTANT NOTE:
3+
*
4+
* This example is associated with the deprecated Arduino_MachineControl library.
5+
* We have introduced a new and improved library called Arduino_PortentaMachineControl, which offers enhanced features
6+
* and ongoing support.
7+
* We encourage you to update your projects to use the new library.
8+
*
9+
* The functions and syntax in this example are not compatible with Arduino_PortentaMachineControl.
10+
* Please refer to the migration guide for necessary adjustments.
11+
*/
12+
113
/*
214
Machine Control - RTC Example
315

Diff for: examples/RTC_Alarm/RTC_Alarm.ino

+12
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
/*
2+
* IMPORTANT NOTE:
3+
*
4+
* This example is associated with the deprecated Arduino_MachineControl library.
5+
* We have introduced a new and improved library called Arduino_PortentaMachineControl, which offers enhanced features
6+
* and ongoing support.
7+
* We encourage you to update your projects to use the new library.
8+
*
9+
* The functions and syntax in this example are not compatible with Arduino_PortentaMachineControl.
10+
* Please refer to the migration guide for necessary adjustments.
11+
*/
12+
113
/*
214
Machine Control - RTC Alarm Example
315

Diff for: examples/Temp_probes_RTD/Temp_probes_RTD.ino

+12
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
/*
2+
* IMPORTANT NOTE:
3+
*
4+
* This example is associated with the deprecated Arduino_MachineControl library.
5+
* We have introduced a new and improved library called Arduino_PortentaMachineControl, which offers enhanced features
6+
* and ongoing support.
7+
* We encourage you to update your projects to use the new library.
8+
*
9+
* The functions and syntax in this example are not compatible with Arduino_PortentaMachineControl.
10+
* Please refer to the migration guide for necessary adjustments.
11+
*/
12+
113
/*
214
Machine Control - Temperature probes RTD example
315

Diff for: examples/Temp_probes_Thermocouples/Temp_probes_Thermocouples.ino

+12
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
/*
2+
* IMPORTANT NOTE:
3+
*
4+
* This example is associated with the deprecated Arduino_MachineControl library.
5+
* We have introduced a new and improved library called Arduino_PortentaMachineControl, which offers enhanced features
6+
* and ongoing support.
7+
* We encourage you to update your projects to use the new library.
8+
*
9+
* The functions and syntax in this example are not compatible with Arduino_PortentaMachineControl.
10+
* Please refer to the migration guide for necessary adjustments.
11+
*/
12+
113
/*
214
Machine Control - Thermocouples Read Sensors
315

Diff for: examples/USB_host/USB_host.ino

+12
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
/*
2+
* IMPORTANT NOTE:
3+
*
4+
* This example is associated with the deprecated Arduino_MachineControl library.
5+
* We have introduced a new and improved library called Arduino_PortentaMachineControl, which offers enhanced features
6+
* and ongoing support.
7+
* We encourage you to update your projects to use the new library.
8+
*
9+
* The functions and syntax in this example are not compatible with Arduino_PortentaMachineControl.
10+
* Please refer to the migration guide for necessary adjustments.
11+
*/
12+
113
#include <Arduino_MachineControl.h>
214
#include <USBHost.h>
315

Diff for: library.properties

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ name=Arduino_MachineControl
22
version=1.1.1
33
author=Arduino
44
maintainer=Arduino <[email protected]>
5-
sentence=Arduino Library for Portenta Machine Control - PMC
6-
paragraph=
5+
sentence=DEPRECATED. Arduino Library for Portenta Machine Control - PMC
6+
paragraph=This library is no longer actively maintained and is deprecated. Consider migrating to the Arduino_PortentaMachineControl library.
77
category=Communication
88
url=https://github.com/arduino-libraries/Arduino_MachineControl
99
architectures=mbed, mbed_portenta

0 commit comments

Comments
 (0)