config.txt.resistive-touchscreen 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. # For more options and information see
  2. # http://rpf.io/configtxt
  3. # Some settings may impact device functionality. See link above for details
  4. #display_rotate=2
  5. #lcd_rotate=2
  6. # uncomment if you get no picture on HDMI for a default "safe" mode
  7. #hdmi_safe=1
  8. # uncomment this if your display has a black border of unused pixels visible
  9. # and your display can output without overscan
  10. disable_overscan=1
  11. # uncomment the following to adjust overscan. Use positive numbers if console
  12. # goes off screen, and negative if there is too much border
  13. #overscan_left=16
  14. #overscan_right=16
  15. #overscan_top=16
  16. #overscan_bottom=16
  17. # uncomment to force a console size. By default it will be display's size minus
  18. # overscan.
  19. framebuffer_width=640
  20. framebuffer_height=480
  21. # uncomment if hdmi display is not detected and composite is being output
  22. #hdmi_force_hotplug=1
  23. # uncomment to force a specific HDMI mode (this will force VGA)
  24. #hdmi_group=1
  25. #hdmi_mode=1
  26. # uncomment to force a HDMI mode rather than DVI. This can make audio work in
  27. # DMT (computer monitor) modes
  28. #hdmi_drive=2
  29. # uncomment to increase signal to HDMI, if you have interference, blanking, or
  30. # no display
  31. #config_hdmi_boost=4
  32. # uncomment for composite PAL
  33. #sdtv_mode=2
  34. #uncomment to overclock the arm. 700 MHz is the default.
  35. #arm_freq=800
  36. # Uncomment some or all of these to enable the optional hardware interfaces
  37. dtparam=i2c_arm=on
  38. #dtparam=i2s=on
  39. dtparam=spi=on
  40. # Uncomment this to enable the lirc-rpi module
  41. #dtoverlay=lirc-rpi
  42. ##dtoverlay=ads7846,penirq=25,speed=10000,penirq_pull=2,xohms=150,rotate=180
  43. dtoverlay=ads7846,penirq=25,speed=10000,penirq_pull=2,xohms=150
  44. # Additional overlays and parameters are documented /boot/overlays/README
  45. # Enable audio (loads snd_bcm2835)
  46. dtparam=audio=on
  47. [pi4]
  48. # Enable DRM VC4 V3D driver on top of the dispmanx display stack
  49. dtoverlay=vc4-fkms-v3d
  50. max_framebuffers=2
  51. [all]
  52. #dtoverlay=vc4-fkms-v3d