Problems with esp32s3 sense with spi st7789 display

I finally figured out where I was messing up. Duhh. The problem was simply that I was using the Pin numbers of the board. If I use the GPIO numbers for those pins it works great. What led me down the right track was I got a UM Tiny S3 board that doesn’t label pins as a pin number, but uses the GPIO numbers on the board. What threw me was that using the pin numbers works on the XIAO C3 board. The reason is that the pin number and the GPIO number are the same for that board.