The Luos library can be used with PlatformIO, the IDE Luos company uses, but you can also use Arduino IDE.
For now, only Arduino SAM Board 32-bits ARM cortex-M0+ are compatible with Luos Library.
You can download Arduino IDE compatible example and Luos Library with Luos Release ↗.
Arduino ↗ is an open-source electronic platform based on easy-to-use hardware and software. The Luos library can be used in Arduino IDE and examples are provided to test it on Arduino hardware quickly. For now, only Arduino SAM Board 32-bits ARM cortex-M0+ are compatible with Luos Library (Arduino Zero, Arduino MKR Wifi, Arduino MKR FOX, Arduino MKR WAN, Arduino MKR GSM, Arduino NB, etc.).
Creating a Luos Network with an Arduino board is very easy. Use D0 and D1 for Tx and Rx, D2 and D3 for Rx_En and Tx_En (RS485 configuration), D5 and D6 for PTPA and PTPB. See the hardware topics page for more information.
- Install the Ardiuno IDE from the Arduino ↗ website.
- Copy and paste the following URL into the File > Preferences > "Additional Boards Manager" textbox.
Install the Luos adapted Arduino SAMD Library in Boards > "Add board definition" > Search for "Luos" > Install "Luos adapted Arduino SAMD (32-bits ARM Cortex-M0+) Boards"
Install the official Arduino SAMD Library in Boards > "Add board definition" > Search for "SAMD" > Install Arduino SAMD Library:
Download Luos Library for Arduino environment with an example on GitHub ↗.
Include Luos Library for Arduino to your Arduino IDE:
- Use provided Luos example, then compile and upload it to your Arduino board: