Using a source code from GitHub.

That's a library. You still need to write a sketch to use the library.

Edit: No, you don't. It's a poor library, with the implementation in the header file, but there is a sketch.

What did you do with the two files?