Your best start is in the examples that come with the library that matches whatever display you have.