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

Commit 719b570

Browse files
add deprecated note to examples
1 parent 9ebdfd2 commit 719b570

File tree

19 files changed

+228
-0
lines changed

19 files changed

+228
-0
lines changed

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

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

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

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

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

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

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

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

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

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

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;

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

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

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

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

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

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

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

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

0 commit comments

Comments
 (0)