How to include HX711 component library?
Posted: Sun Feb 16, 2020 4:33 am
I am having trouble including external component libraries. I was reading https://docs.espressif.com/projects/esp ... ystem.html - but still having trouble understanding all the file structures and flow.
I am trying to include HX711 library from https://github.com/UncleRus/esp-idf-lib
Can anyone help explain the process? I tried a few different methods and it doesn't seem to be working. I am using Visual Studio code with ESP-IDF extension
I did the following steps:
1. cd ~/myprojects/esp
2. git clone https://github.com/UncleRus/esp-idf-lib.git
3. Update makefile to include: "EXTRA_COMPONENT_DIRS := $(IDF_PATH)/esp-idf-lib/components"
4. #include "HX711.h" in my main.c file.
I also tried:
1. Adding the external component library with HX711 in the same directory as my main file, but still not working.
I am trying to include HX711 library from https://github.com/UncleRus/esp-idf-lib
Can anyone help explain the process? I tried a few different methods and it doesn't seem to be working. I am using Visual Studio code with ESP-IDF extension
I did the following steps:
1. cd ~/myprojects/esp
2. git clone https://github.com/UncleRus/esp-idf-lib.git
3. Update makefile to include: "EXTRA_COMPONENT_DIRS := $(IDF_PATH)/esp-idf-lib/components"
4. #include "HX711.h" in my main.c file.
I also tried:
1. Adding the external component library with HX711 in the same directory as my main file, but still not working.