Library for the RoboHeart Hercules Board.
Highlight of the board features:
- ESP32 microcontroller
- IMU - LSM6DS3
- 1s Lipo Battery Full Support (charging, overcharge, overdischarge, usage as power source, reverse battery protection)
- Three DC motors control or One Stepper motor control
- JTAG connector Debugging
- USB-C connector with Auto-program feature
- Grove connectors for UART and I2C
-
Install SparkFunLSM6DS3 library through Arduino Library Manager
-
Install ESP32 Arduino as described in Espressif page.
-
Further download RoboHeart library using Git manager or through the Download ZIP option in GitHub:
-
Place folder or unpack it in the default Arduino library path:
C:\Users\<Your_Username>\Documents\Arduino\libraries\ # For Windows users /home/<Your_Username>/Arduino/libraries/ # For Ubuntu users
-
Now restart your Arduino environment.
- Chose the appropriate board in your Arduino environment:
Tools->Board->ESP32 Arduino->ESP32 Dev Module
- Open one of the built-in examples (scroll to the bottom of Examples):
File->Examples->RoboHeart->RoboHeartLED
- Connect the board with USB-C cable to your computer and press Upload in Arduino
Open a ticket in the Issue board of the project. Please provide all relevant details (if you use any additional hardware, how you connect the board), usecases or situation the problem occured.
Google style for spacing, brackets, general code look. Check out the google description. Auto-formater can be set up with vsCode:
- Install C/C++ Extension
- In vsCode Settings find:
Clang_format_fallback
- Replace with the following:
{ BasedOnStyle: Google, IndentWidth: 4, TabWidth: 4, ColumnLimit: 80 }
- You can use the auto-format shortcut Ctrl+Shift+I (for Ubuntu)
For naming of variables, functions, classes follow Arduino style guide for Libraries