Skip to content

Commit c550f14

Browse files
committed
Eliminate README by transferring compilation instructions and a short description to the head of the example sketch.
1 parent 2b68726 commit c550f14

File tree

2 files changed

+11
-9
lines changed

2 files changed

+11
-9
lines changed

examples/opta_opcua_server/README.md

Lines changed: 0 additions & 9 deletions
This file was deleted.

examples/opta_opcua_server/opta_opcua_server.ino

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
/*
2+
* By compiling and uploading this sketch to your Arduino Opta you obtain turn your
3+
* Arduino Opta into a networked OPC UA capable device.
4+
*
5+
* How-to-build/upload:
6+
* arduino-cli compile --fqbn arduino:mbed_opta:opta examples/opta_opcua_server -v -u -p /dev/ttyACM0
7+
*
8+
* How-to-build/upload RS485 Modbus Demo integrated with this sketch:
9+
* arduino-cli compile --fqbn arduino:mbed_opta:opta examples/opta_opcua_server -v --build-property compiler.cpp.extra_flags="-DUSE_MODBUS_SENSOR_MD02=1" -u -p /dev/ttyACM0
10+
*/
11+
112
/**************************************************************************************
213
* INCLUDE
314
**************************************************************************************/

0 commit comments

Comments
 (0)