SC20100 - Display Error

Just trying to get the display up and running on the smaller SC20100. Using the code on the new docs as-is.
The line: var displayController = DisplayController.GetDefault();
Gives me the following error on run: An unhandled exception of type ‘System.InvalidOperationException’ occurred in GHIElectronics.TinyCLR.Devices.Display.dll

Any ideas? I think I can replace .Default with .FromName(“xxx”);, but I need the correct string…

try without @

Default() will be point to LCD native controller which is not on SC20100.

Should use something like FromProvider(st7735), which is ST7735Controller.

Do you need example code? It is here https://forums.ghielectronics.com/t/sc20100s-dev-thread/22577

1 Like

I just was trying the code under the Low Level Display write-up for this board from http://new-docs.ghielectronics.com/ .

So it needs to be updated!

I see. Do you want to open a GitHub issue? :wink:

Here is the Dat_Tran program without background or font.
20200204_000042min

Right, playing around (sidetracked) with fonts as I work though this lol! Trying to follow the directions for doing the font conversion and sticking it in resources…

1 Like

managed to convert a font over and get it running no problem…

5 Likes