That looks fine to me. Only thing I might add here is that GCB only supports 65K colors, even though the controller supports 262K colors.
Yes, please comment it out. The more portable the demo is the better. Minor correction to your comments in the demo: "It is a nice graphical TFT LCD, suitable for a lot of various projects." It's actually an OLED display, not an LCD.
Yes, please comment it out. The more portable the demo is the better.
No, the demo could use the internal oscillator.
Actually, the SetBrightness_SSD1351 sub didn't work because I set up a few things wrong. Here's the final revised glcd_ssd1351.h with the SetBrightness_SSD1351 sub working correctly.
I completed the testing and made my changes to glcd_ssd1351.h. I removed the SendMultipleCommand_SSD1351 and SendMultipleData_SSD1351 subs as there doesn't seem to really be any need for them. I also removed the SetBrightness_SSD1351 sub as it doesn't work, even though it should according to the data sheet. It was redundant anyway. The SetContrast_SSD1351 sub works just fine for the purposes of setting display brightness, as well as the relative brightness of the colors. On the rotation, I set it...
I completed the testing and made my changes to glcd_ssd1351.h. I removed the SendMultipleCommand_SSD1351 and SendMultipleData_SSD1351 subs as there doesn't seem to really be any need for them. I also removed the SetBrightness_SSD1351 sub as it doesn't work, even though it should according to the data sheet. It was redundant anyway. The SetContrast_SSD1351 sub works just fine for the purposes of setting display brightness, as well as the relative brightness of the colors. On the rotation, I set it...
I completed the testing and made my changes to glcd_ssd1351.h. I removed the SendMultipleCommand_SSD1351 and SendMultipleData_SSD1351 sub as there doesn't seem to really be any need for them. I also removed the SetBrightness_SSD1351 sub as it doesn't work, even though it should according to the data sheet. It was redundant anyway. The SetContrast_SSD1351 sub works just fine for the purposes of setting display brightness, as well as the relative brightness of the colors. On the rotation, I set it...