the problem is the library is not working even in its initial stage.
You have the hardware. You have some expectations about what the software will do. You have the visual feedback on what that software actually does. You know what the differences are between your expectations and your reality are.
And, yet, you'd like for us to help you debug the library.
I think it is just possible that you might need to provide some more details.