The old "one function per config" system is depricated for quite a while now...
This example program writes some text on an DOGM128 LCD display connected to SPI2.