Skip to content

Commit 9b27a1e

Browse files
update license header in examples and docs/readme
1 parent 96519ca commit 9b27a1e

File tree

21 files changed

+69
-64
lines changed

21 files changed

+69
-64
lines changed

docs/README.md

+9-8
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
# Portenta Machine Control Library
22

3-
[![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)
4-
[![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)
5-
[![Spell Check status](https://github.com/arduino-libraries/Arduino_MachineControl/actions/workflows/spell-check.yml/badge.svg)](https://github.com/arduino-libraries/Arduino_MachineControl/actions/workflows/spell-check.yml)
3+
[![Check Arduino status](https://github.com/arduino-libraries/Arduino_PortentaMachineControl/actions/workflows/check-arduino.yml/badge.svg)](https://github.com/arduino-libraries/Arduino_PortentaMachineControl/actions/workflows/check-arduino.yml)
4+
[![Compile Examples status](https://github.com/arduino-libraries/Arduino_PortentaMachineControl/actions/workflows/compile-examples.yml/badge.svg)](https://github.com/arduino-libraries/Arduino_PortentaMachineControl/actions/workflows/compile-examples.yml)
5+
[![Spell Check status](https://github.com/arduino-libraries/Arduino_PortentaMachineControl/actions/workflows/spell-check.yml/badge.svg)](https://github.com/arduino-libraries/Arduino_PortentaMachineControl/actions/workflows/spell-check.yml)
66

7-
[![License](https://img.shields.io/badge/License-LGPLv2.1-blue.svg)](https://github.com/arduino-libraries/Arduino_MachineControl/blob/master/LICENSE.txt)
7+
[![License](https://img.shields.io/badge/License-MPLv2.0-blue.svg)](https://github.com/arduino-libraries/Arduino_PortentaMachineControl/blob/main/LICENSE)
88

99
The Portenta Machine Control Library is a C++ library designed to efficiently manage the functionalities of the Portenta Machine Control board. It provides extensive support for inputs such as digital, analog, and encoder signals, while offering outputs including digital and analog signals. This library also menages communication through protocols like CAN-BUS and serial ports, and allows connectivity via Ethernet, USB, Wi-Fi, and Bluetooth Low Energy.
1010

1111
The library empowers users to easily initialize, control, and access the diverse functionalities of the Portenta Machine Control, enhancing its capability and adaptability for industrial applications.
1212

1313
📚 For more information about this library please visit us at:
14-
https://www.arduino.cc/reference/en/libraries/arduino_machinecontrol
14+
https://www.arduino.cc/reference/en/libraries/arduino_portentamachinecontrol/
1515

1616
## Features
1717

@@ -42,8 +42,8 @@ To use this library, you must have a properly powered Portenta Machine Control b
4242
Here is a minimal example to control a digital output:
4343

4444
```cpp
45-
// Include the Arduino MachineControl library
46-
#include <Arduino_MachineControl.h>
45+
// Include the Arduino PortentaMachineControl library
46+
#include <Arduino_PortentaMachineControl.h>
4747

4848
void setup() {
4949
// Initialize the digital outputs module of the MachineControl library
@@ -65,6 +65,7 @@ void loop() {
6565
- **[Analog_input_0_10V](../examples/Analog_input/Analog_input_0_10V):** This example demonstrates how to read analog input signals in the 0-10V range.
6666
- **[Analog_input_4_20mA](../examples/Analog_input/Analog_input_4_20mA):** This example demonstrates how to read analog input signals in the 4-20mA range.
6767
- **[Analog_input_NTC](../examples/Analog_input/Analog_input_NTC):** This example shows reading analog input signals from NTC temperature probes.
68+
- **[Fast_Analog_input_0_10V](../examples/Analog_input/Fast_Analog_input_0_10V):** This example demonstrates how to read analog input signals in the 0-10V range using the [Arduino_AdvancedAnalog](https://github.com/arduino-libraries/Arduino_AdvancedAnalog) library.
6869
- **[Analog_Out](../examples/Analog_Out):** This example shows how to control analog output signals.
6970
- **[ReadCan](../examples/CAN/ReadCan):** This example demonstrates how to read data using the CAN-BUS communication protocol.
7071
- **[WriteCan](../examples/CAN/WriteCan):** This example demonstrates how to send data using the CAN-BUS communication protocol.
@@ -88,4 +89,4 @@ The API documentation can be found [here](./api.md).
8889

8990
## License
9091

91-
This library is released under the [LGPLv2.1 license](https://github.com/arduino-libraries/Arduino_MachineControl/blob/master/LICENSE.txt).
92+
This library is released under the [MPL-2.0 license](https://github.com/arduino-libraries/Arduino_PortentaMachineControl/blob/main/LICENSE).

examples/Analog_Out/Analog_Out.ino

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
* - Portenta H7
1010
* - Portenta Machine Control
1111
*
12-
* Initial author: Riccardo Rizzo @Rocketct
13-
* Authors who have contributed to updates:
14-
* - Leonardo Cavagnis @leonardocavagnis
12+
* This example code is in the public domain.
13+
* Copyright (c) 2024 Arduino
14+
* SPDX-License-Identifier: MPL-2.0
1515
*/
1616

1717
#include <Arduino_PortentaMachineControl.h>

examples/Analog_input/Analog_input_0_10V/Analog_input_0_10V.ino

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
* - Portenta H7
1212
* - Portenta Machine Control
1313
*
14-
* Initial author: Riccardo Rizzo @Rocketct
15-
* Authors who have contributed to updates:
16-
* - Leonardo Cavagnis @leonardocavagnis
14+
* This example code is in the public domain.
15+
* Copyright (c) 2024 Arduino
16+
* SPDX-License-Identifier: MPL-2.0
1717
*/
1818

1919
#include <Arduino_PortentaMachineControl.h>

examples/Analog_input/Analog_input_4_20mA/Analog_input_4_20mA.ino

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
* - Portenta H7
1212
* - Portenta Machine Control
1313
*
14-
* Initial author: Riccardo Rizzo @Rocketct
15-
* Authors who have contributed to updates:
16-
* - Leonardo Cavagnis @leonardocavagnis
14+
* This example code is in the public domain.
15+
* Copyright (c) 2024 Arduino
16+
* SPDX-License-Identifier: MPL-2.0
1717
*/
1818

1919
#include <Arduino_PortentaMachineControl.h>

examples/Analog_input/Analog_input_NTC/Analog_input_NTC.ino

+3-3
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313
* - Portenta H7
1414
* - Portenta Machine Control
1515
*
16-
* Initial author: Riccardo Rizzo @Rocketct
17-
* Authors who have contributed to updates:
18-
* - Leonardo Cavagnis @leonardocavagnis
16+
* This example code is in the public domain.
17+
* Copyright (c) 2024 Arduino
18+
* SPDX-License-Identifier: MPL-2.0
1919
*/
2020

2121
#include <Arduino_PortentaMachineControl.h>

examples/Analog_input/Fast_Analog_input_0_10V/Fast_Analog_input_0_10V.ino

+3-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@
1111
* - Portenta H7
1212
* - Portenta Machine Control
1313
*
14-
* Initial author: Leonardo Cavagnis @leonardocavagnis
14+
* This example code is in the public domain.
15+
* Copyright (c) 2024 Arduino
16+
* SPDX-License-Identifier: MPL-2.0
1517
*/
1618

1719
#include <Arduino_PortentaMachineControl.h>

examples/CAN/ReadCan/ReadCan.ino

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
* - Portenta H7
99
* - Portenta Machine Control
1010
*
11-
* Initial author: Riccardo Rizzo @Rocketct
12-
* Authors who have contributed to updates:
13-
* - Leonardo Cavagnis @leonardocavagnis
11+
* This example code is in the public domain.
12+
* Copyright (c) 2024 Arduino
13+
* SPDX-License-Identifier: MPL-2.0
1414
*/
1515

1616
#include <Arduino_PortentaMachineControl.h>

examples/CAN/WriteCan/WriteCan.ino

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
* - Portenta H7
99
* - Portenta Machine Control
1010
*
11-
* Initial author: Riccardo Rizzo @Rocketct
12-
* Authors who have contributed to updates:
13-
* - Leonardo Cavagnis @leonardocavagnis
11+
* This example code is in the public domain.
12+
* Copyright (c) 2024 Arduino
13+
* SPDX-License-Identifier: MPL-2.0
1414
*/
1515

1616
#include <Arduino_PortentaMachineControl.h>

examples/Digital_output/Digital_output.ino

+3-3
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515
*
1616
* NOTE: connect pin "24V IN" of the DIGITAL_OUTPUTS connector to 24V
1717
*
18-
* Initial author: Riccardo Rizzo @Rocketct
19-
* Authors who have contributed to updates:
20-
* - Leonardo Cavagnis @leonardocavagnis
18+
* This example code is in the public domain.
19+
* Copyright (c) 2024 Arduino
20+
* SPDX-License-Identifier: MPL-2.0
2121
*/
2222

2323
#include <Arduino_PortentaMachineControl.h>

examples/Digital_programmable/Digital_input/Digital_input.ino

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
* - Portenta H7
88
* - Portenta Machine Control
99
*
10-
* Initial author: Riccardo Rizzo @Rocketct
11-
* Authors who have contributed to updates:
12-
* - Leonardo Cavagnis @leonardocavagnis
10+
* This example code is in the public domain.
11+
* Copyright (c) 2024 Arduino
12+
* SPDX-License-Identifier: MPL-2.0
1313
*/
1414

1515
#include <Arduino_PortentaMachineControl.h>

examples/Digital_programmable/GPIO_programmable/GPIO_programmable.ino

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
* - Portenta H7
1010
* - Portenta Machine Control
1111
*
12-
* Initial author: Riccardo Rizzo @Rocketct
13-
* Authors who have contributed to updates:
14-
* - Leonardo Cavagnis @leonardocavagnis
12+
* This example code is in the public domain.
13+
* Copyright (c) 2024 Arduino
14+
* SPDX-License-Identifier: MPL-2.0
1515
*/
1616

1717
#include <Arduino_PortentaMachineControl.h>

examples/Encoders/Encoders.ino

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
* - Portenta H7
99
* - Portenta Machine Control
1010
*
11-
* Initial author: Riccardo Rizzo @Rocketct
12-
* Authors who have contributed to updates:
13-
* - Leonardo Cavagnis @leonardocavagnis
11+
* This example code is in the public domain.
12+
* Copyright (c) 2024 Arduino
13+
* SPDX-License-Identifier: MPL-2.0
1414
*/
1515

1616
#include <Arduino_PortentaMachineControl.h>

examples/Ethernet/Ethernet.ino

+3-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@
99
* - Portenta H7
1010
* - Portenta Machine Control
1111
*
12-
* Initial author: Riccardo Rizzo @Rocketct
12+
* This example code is in the public domain.
13+
* Copyright (c) 2024 Arduino
14+
* SPDX-License-Identifier: MPL-2.0
1315
*/
1416

1517
#include <PortentaEthernet.h>

examples/RS232/RS232.ino

+3-3
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313
* - Connect PMC RXP to RS232 Device TXD
1414
* - Connect PMC GND to RS232 Device GND
1515
*
16-
* Initial author: Riccardo Rizzo @Rocketct
17-
* Authors who have contributed to updates:
18-
* - Leonardo Cavagnis @leonardocavagnis
16+
* This example code is in the public domain.
17+
* Copyright (c) 2024 Arduino
18+
* SPDX-License-Identifier: MPL-2.0
1919
*/
2020

2121
#include <Arduino_PortentaMachineControl.h>

examples/RS485_fullduplex/RS485_fullduplex.ino

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212
* - Connect TXP to A(+) and TXN to B(-)
1313
* - Connect RXP to Y(+) and RXN to Z(-)
1414
*
15-
* Initial author: Riccardo Rizzo @Rocketct
16-
* Authors who have contributed to updates:
17-
* - Leonardo Cavagnis @leonardocavagnis
15+
* This example code is in the public domain.
16+
* Copyright (c) 2024 Arduino
17+
* SPDX-License-Identifier: MPL-2.0
1818
*/
1919

2020
#include "Arduino_PortentaMachineControl.h"

examples/RS485_halfduplex/RS485_halfduplex.ino

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
* - A Slave device with RS485 interface
1212
* - Connect TXP to A(+) and TXN to B(-)
1313
*
14-
* Initial author: Riccardo Rizzo @Rocketct
15-
* Authors who have contributed to updates:
16-
* - Leonardo Cavagnis @leonardocavagnis
14+
* This example code is in the public domain.
15+
* Copyright (c) 2024 Arduino
16+
* SPDX-License-Identifier: MPL-2.0
1717
*/
1818

1919
#include "Arduino_PortentaMachineControl.h"

examples/RTC/RTC.ino

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
* - Portenta H7
99
* - Portenta Machine Control
1010
*
11-
* Initial author: Riccardo Rizzo @Rocketct
12-
* Authors who have contributed to updates:
13-
* - Leonardo Cavagnis @leonardocavagnis
11+
* This example code is in the public domain.
12+
* Copyright (c) 2024 Arduino
13+
* SPDX-License-Identifier: MPL-2.0
1414
*/
1515

1616
#include <Arduino_PortentaMachineControl.h>

examples/RTC_Alarm/RTC_Alarm.ino

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
* - Portenta H7
99
* - Portenta Machine Control
1010
*
11-
* Initial author: Riccardo Rizzo @Rocketct
12-
* Authors who have contributed to updates:
13-
* - Leonardo Cavagnis @leonardocavagnis
11+
* This example code is in the public domain.
12+
* Copyright (c) 2024 Arduino
13+
* SPDX-License-Identifier: MPL-2.0
1414
*/
1515

1616
#include <Arduino_PortentaMachineControl.h>

examples/Temp_probes_RTD/Temp_probes_RTD.ino

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212
* - Portenta Machine Control
1313
* - 3-wire RTD or 2-wire RTD
1414
*
15-
* Initial author: Riccardo Rizzo @Rocketct
16-
* Authors who have contributed to updates:
17-
* - Leonardo Cavagnis @leonardocavagnis
15+
* This example code is in the public domain.
16+
* Copyright (c) 2024 Arduino
17+
* SPDX-License-Identifier: MPL-2.0
1818
*/
1919

2020
#include <Arduino_PortentaMachineControl.h>

examples/Temp_probes_Thermocouples/Temp_probes_Thermocouples.ino

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
* - Two K Type thermocouple temperature sensors connected to TEMP PROBES CH0 and CH1
1212
* - A J Type thermocouple temperature sensor connected to TEMP PROBES CH3
1313
*
14-
* Initial author: Riccardo Rizzo @Rocketct
15-
* Authors who have contributed to updates:
16-
* - Leonardo Cavagnis @leonardocavagnis
14+
* This example code is in the public domain.
15+
* Copyright (c) 2024 Arduino
16+
* SPDX-License-Identifier: MPL-2.0
1717
*/
1818

1919
#include <Arduino_PortentaMachineControl.h>

examples/USB_host/USB_host.ino

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
* - Portenta Machine Control
99
* - USB device (e.g., keyboard, mouse, etc.)
1010
*
11-
* Initial author: Riccardo Rizzo @Rocketct
12-
* Authors who have contributed to updates:
13-
* - Leonardo Cavagnis @leonardocavagnis
11+
* This example code is in the public domain.
12+
* Copyright (c) 2024 Arduino
13+
* SPDX-License-Identifier: MPL-2.0
1414
*/
1515

1616
#include <Arduino_PortentaMachineControl.h>

0 commit comments

Comments
 (0)