microsoft/pxt-arcade

HW---N3 config.ts file smart display vs ST7735 display

Opened this issue · 0 comments

Describe the bug
As mentioned in this issue #6438 changing the DISPLAY_CFG0 makro does not change the display offset as described in hardware adding. Only when the export const DISPLAY_TYPE = 4242 is changed to export const DISPLAY_TYPE = 7735 it has an effect.

To Reproduce

  1. Set up local Makecode arcade server
  2. Change DISPLAY_CFG0 in libs/hw---n3/config.ts to e.g. 0x00040480
  3. Run server
  4. Open project e.g. "Jumpy Platformer", download and transfer to Micro:bit with fitting arcade shield
  5. Note that the offset does not change

Expected behavior
There should be an offset change in y and x dimension.

Desktop:

  • OS: Ubuntu 22.04, Ubuntu 24.04

Question
Does changing the display type in the config.ts file come with any unwanted side effects? What is the reason that this ST7735 display is defined as smart display?