You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
10
10
11
11
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.
12
12
13
13
📚 For more information about this library please visit us at:
@@ -42,8 +42,8 @@ To use this library, you must have a properly powered Portenta Machine Control b
42
42
Here is a minimal example to control a digital output:
43
43
44
44
```cpp
45
-
// Include the Arduino MachineControl library
46
-
#include<Arduino_MachineControl.h>
45
+
// Include the Arduino PortentaMachineControl library
46
+
#include<Arduino_PortentaMachineControl.h>
47
47
48
48
voidsetup() {
49
49
// Initialize the digital outputs module of the MachineControl library
@@ -65,6 +65,7 @@ void loop() {
65
65
-**[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.
66
66
-**[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.
67
67
-**[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.
68
69
-**[Analog_Out](../examples/Analog_Out):** This example shows how to control analog output signals.
69
70
-**[ReadCan](../examples/CAN/ReadCan):** This example demonstrates how to read data using the CAN-BUS communication protocol.
70
71
-**[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).
88
89
89
90
## License
90
91
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).
0 commit comments