libhal device library for the series of the RMD smart motors from MyActuator.
To learn about the available drivers and APIs see the
Doxygen
documentation page or look at the
include/libhal-rmd
directory.
To see how each driver is used see the
demos/
directory.
Following the 🚀 Getting Started instructions.
The libhal-lpc40
profiles used for demos. To install them use the following
commands.
conan config install -sf conan/profiles/ -tf profiles https://github.com/libhal/libhal-armcortex.git
conan config install -sf conan/profiles/ -tf profiles https://github.com/libhal/libhal-lpc40.git
To build demos, start at the root of the repo and execute the following command:
conan build demos -pr lpc4078 -s build_type=Debug
or for the lpc4074
conan build demos -pr lpc4074 -s build_type=Debug
- Locate the CANTD (CAN Transmit Data) and CANRD (Can Receive Data) pins on your microcontroller port.
- Connect CANTD and CANRD lines to a CAN transceiver.
- Connect CAN transceiver's CANL and CANH lines and connect them to an motor's CANL and CANH lines.
- Supply adequate power to the CAN transceiver and the smart motor.
Add the following to your requirements()
method:
def requirements(self):
self.requires("libhal-rmd/[^2.0.0]")
See CONTRIBUTING.md
for details.
Apache 2.0; see LICENSE
for details.
This project is not an official Google project. It is not supported by Google and Google specifically disclaims all warranties as to its quality, merchantability, or fitness for a particular purpose.