I will move these to the release. So, the .h will be in the next release. And, your demo will be in the demo pack. Well done.
A bit of tweak by me. You can control the SPI mode and have the library handle it (recommended): The GCBASIC library's HWSPIClockModeSCRIPT will set the appropriate mode. You can override it yourself (if the default doesn't work for your hardware) #define HWSPIClockMode SPI_CPOL_1 + SPI_CPHA_0 ' Force Mode 2, for example Put this your main program. The script in the library will usually respect your define. Then configure SPI normally. #define HWSPIClockMode SPI_CPOL_1 + SPI_CPHA_0 #define HWSPIMode...
Updated GLCD_ST7567 adding new power control methods
I will gather up and put into the next release. Never want to lose good work. :-)
That is odd. If the caps resolve then OK. A thought. Check the datasheet for anything that controls the SPI signal.
Yes. Good stuff.
Yes. You had it near the memory allocation which does not need to be within a method.
Wow. Considering I am just doing this by reading the ASM! Your call was not within a method, so, it was never called. it was hanging in the unprocessed/ignored code.