File tree Expand file tree Collapse file tree
Documentation/platforms/arm/rp2040/boards/raspberrypi-pico Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -356,10 +356,59 @@ ST7735 SPI LCD.
356356 * - AO(D/C)
357357 - GP12 (SPI1 RX) (Pin 16)
358358 * - BL
359- - GP11 (Pin 15)
359+ - GP11 (Pin 15) [1]
360360 * - RESET
361361 - GP10 (Pin 14)
362362
363+ 1: At least in my LCD module I don't need to connect any wire to the backlight pin (BLK) since it is enabled by default.
364+
365+ After compiling and flashing the firmware in our board, run fb command.
366+
367+ .. code :: console
368+
369+ NuttShell (NSH) NuttX-12.13.0
370+ nsh> ?
371+ help usage: help [-v] [<cmd>]
372+ . cp exit mkrd rmdir true
373+ [ cmp expr mount set truncate
374+ ? dirname false mv kill uname
375+ alias date fdinfo pidof pkill umount
376+ unalias df free printf sleep unset
377+ basename dmesg help ps usleep uptime
378+ break echo hexdump pwd source watch
379+ cat env ls reboot test xd
380+ cd exec mkdir rm time wait
381+ Builtin Apps:
382+ dd getprime nsh nxdemo nxlines sh
383+ fb hello nx nxhello ostest
384+ nsh> fb
385+ VideoInfo:
386+ fmt: 11
387+ xres: 128
388+ yres: 160
389+ nplanes: 1
390+ PlaneInfo (plane 0):
391+ fbmem: 0x20003bf0
392+ fblen: 40960
393+ stride: 256
394+ display: 0
395+ bpp: 16
396+ Mapped FB: 0x20003bf0
397+ 0: ( 0, 0) (128,160)
398+ 1: ( 11, 14) (106,132)
399+ 2: ( 22, 28) ( 84,104)
400+ 3: ( 33, 42) ( 62, 76)
401+ 4: ( 44, 56) ( 40, 48)
402+ 5: ( 55, 70) ( 18, 20)
403+ Test finished
404+ nsh>
405+
406+
407+ You should see this image:
408+
409+ .. figure :: st7735.png
410+ :align: center
411+
363412tmp112
364413------
365414
You can’t perform that action at this time.
0 commit comments