Before starting developing with Luos, you need to have an operational development environment. At Luos, we use PlatformIO to share all our examples and to make our lib integration easy, but of course you can use your favorite IDE and integrate our libs by yourself.
PlatformIO is a cross-platform, cross-architecture, multiple framework, professional tool for embedded systems engineers and for software developers who write applications for embedded products. You can put it as a plug-in in a lot of different editors.
- Install Platform IO on VSCode by following the instructions on this page.
- Create a new projet on PlatformIO
- Add Luos as dependancy and select HAL on your
lib_deps = Luos board = <board name>
<board name> with the name of the board you're using, eg.
board = l0 for the L0 board.
Note: More information about how Luos libs are managed into PlatformIO is available by following this post on our forum.
Luos shares a lot of code examples, feel free to use and modify them as you want.
Luos created a sets of boards allowing to easily prototype a device.
Luos works as a library. Our technology is constituted of 2 libs:
- RobusCore communication bus used by Luos to detect and communicate with modules in a network.: This library is the communication way used by Luos.
- Luos: This is the main library you will be working with.
To make it work on your environment, you have to:
- Include both lib folders (Robus and Luos) in your project compilation,
- Select the good hal folder to use, depending on you hardware,
- Include Luos.h on your source file.