You want to import a library not an example.
C:\Program Files (x86)\arduino-1.8.5-windows\arduino-1.8.5\libraries\HX711
Put the files in a folder called HX711 to have everything nice and tidy.
I use the standalone version of arduino ide, if you have it installed I suspect the folder would be under
According to the documentation.
You should put the nodemcu_test.ino in your sketchbook folder as I would generally avoid putting non-library files in the libraries folder. If you do want to keep the examples for a specific library close to the library create a subfolder:
As Juraj pointed out, this has the additional advantage of them being accessable in the examples menu.
If you want the libraries close to your sketch you are actually working on, follow the guide and put the library files in your sketchbook folder for your project. I would not advise for the following reasons:
I read that in newer IDEs 1.8.X you would need to put the files in a
/src/subfolder. For me it did work without that, but the main caveat remained:
means to look in the library folder as mentioned above.
If you want to put the files somewhere else, you have to use
and specify the path (or in this example it was located where my .ino was). But now I also need to change
in the HX711.cpp file. What a hassle!
So my takeaway message would be: Stick with