eren-terzioglu opened a new pull request, #3010:
URL: https://github.com/apache/nuttx-apps/pull/3010

   ##Summary
   
   Added gpio input option to brickmatch demo to have more ways input 
(especially devices which does not have adc support). Additionally, added led 
matrix (ws2812) support to have more options to output
   
   * games/brickmatch: Add led matrix output option
   
   * games/brickmatch: Add GPIO input option
   
   ## Impact
   
   Impact on user:No
   
   Impact on build:No
   
   Impact on hardware:No
   
   Impact on documentation:No
   
   Impact on security:No
   
   Impact on compatibility:No
   
   ## Testing
   
   Internal CI testing + 
   
   `esp32-devkitc:brickmatch` or `esp32c6-devkitc:nsh` config with these 
options enabled:
   
   ```
   CONFIG_ESP_RMT=y
   CONFIG_EXAMPLES_RMTCHAR=y
   CONFIG_EXAMPLES_RMTCHAR_RX=y
   CONFIG_EXAMPLES_RMTCHAR_TX=y
   CONFIG_EXAMPLES_WS2812=y
   CONFIG_RMT=y
   CONFIG_RMTCHAR=y
   CONFIG_RMT_DEFAULT_RX_BUFFER_SIZE=256
   CONFIG_WS2812=y
   CONFIG_WS2812_LED_COUNT=64
   CONFIG_WS2812_NON_SPI_DRIVER=y
   CONFIG_BOARD_LATE_INITIALIZE=y
   CONFIG_DRIVERS_VIDEO=y
   CONFIG_ESPRESSIF_I2C0=y
   CONFIG_ESPRESSIF_SPI2=y
   CONFIG_EXAMPLES_FB=y
   CONFIG_GAMES_BRICKMATCH=y
   CONFIG_LCD=y
   CONFIG_LCD_APA102=y
   CONFIG_LCD_FRAMEBUFFER=y
   CONFIG_LCD_NOGETRUN=y
   CONFIG_SCHED_LPWORK=y
   CONFIG_SENSORS=y
   CONFIG_VIDEO_FB=y
   CONFIG_GAMES_BRICKMATCH_USE_GPIO=y
   CONFIG_SENSORS_APDS9960=n
   #CONFIG_EXAMPLES_APDS9960=y
   CONFIG_INIT_ENTRYPOINT="brick_main"
   CONFIG_DEV_GPIO=y
   CONFIG_EXAMPLES_GPIO=y
   ```
   
   Note: Added options might not minimal, fyi.
   
   Here is the diagram I used:
   
   
![esp_brickmatch_game_schematic](https://github.com/user-attachments/assets/d9730779-0a96-4e97-b7ee-9c17f7c66569)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to