libhal-rmd
libhal device library for the series of the RMD smart motors from MyActuator.
📚 Software APIs & Usage
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.
🧰 Setup
Following the 🚀 Getting Started instructions.
📡 Installing Profiles
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
🏗️ Building Demos
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
🔌 Device Wiring & Hookup guide (CAN BUS)
- 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.
libhal-rmd
to your project
📦 Adding Add the following to your requirements()
method:
def requirements(self):
self.requires("libhal-rmd/[^2.0.0]")
Contributing
See CONTRIBUTING.md
for details.
License
Apache 2.0; see LICENSE
for details.
Disclaimer
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.