Related to this…I just ran across Chris Taylor’s (@ taylorza) LCD_ST7735 library, which should, in theory work for the N18 display used in RETRO:
His Raycasting engine project was highlighted here:
Given that he’s running this on mBuino, I assumed that it should mostly “just work” on RETRO, but even after updating the pin assignments to match what the N18 driver uses, I’m just getting garbage on the display (odd pattern of white rectangles).
I’m going to keep playing with it since his driver has a few more features than the DisplayN18 driver, but wondered if anyone else had suggestions or a working example.
UPDATE - It helps a great deal if you actually check to make sure the API is the same before assuming it will work. The DisplayN18 driver version of fillRect uses x, y, width, height, while the LCD_ST7735 uses x1, y1, x2, y2. Once having corrected for that difference, everything’s working fine.
Now to see if I can load a bitmap.