# Uncomment some or all of these to enable the optional hardware interfaces
# Params:
#         i2c_arm                  Set to "on" to enable the ARM's i2c interface
#                                  (default "off")
#         i2c_vc                   Set to "on" to enable the i2c interface
#                                  usually reserved for the VideoCore processor
#                                  (default "off")
#         i2c_arm_baudrate         Set the baudrate of the ARM's i2c interface
#                                  (default "100000")
#         i2c_vc_baudrate          Set the baudrate of the VideoCore i2c interface
#                                  (default "100000")
#         i2c_baudrate             An alias for i2c_arm_baudrate
#         i2s                      Set to "on" to enable the i2s interface
#                                  (default "off")
#         spi                      Set to "on" to enable the spi interfaces
#                                  (default "off")
#         act_led_trigger          Choose which activity the LED tracks.
#                                  Use "heartbeat" for a nice load indicator.
#                                  (default "mmc")
#         act_led_activelow        Set to "on" to invert the sense of the LED
#                                  (default "off")
#         act_led_gpio             Set which GPIO pin to use for the activity LED
#                                  (in case you want to connect it to an external
#                                  device)
#                                  (default "16" on a non-Plus board, "47" on a
#                                  Plus or Pi 2)
#         N.B. It is recommended to only enable those interfaces that are needed.
#         Leaving all interfaces enabled can lead to unwanted behaviour (i2c_vc
#         interfering with Pi Camera, I2S and SPI hogging GPIO pins, etc.)
#         Note also that i2c, i2c_arm and i2c_vc are aliases for the physical
#         interfaces i2c0 and i2c1. Use of the numeric variants is still possible
#         but deprecated because the ARM/VC assignments differ between board
#         revisions. The same board-specific mapping applies to i2c_baudrate,
#         and the other i2c baudrate parameters.

#dtparam=i2c_arm=on
#dtparam=i2c_vc=on
#dtparam=i2s=on
#dtparam=spi=on
#dtparam=act_led_trigger=mmc

#dtparam=uart1=off
#dtoverlay=pi3-disable-bt-overlay

# Uncomment one of these lines to enable an audio interface
#dtoverlay=hifiberry-dac
#dtoverlay=hifiberry-dacplus
#dtoverlay=hifiberry-digi
#dtoverlay=hifiberry-amp
#dtoverlay=iqaudio-dac
#dtoverlay=iqaudio-dacplus

# Uncomment to enable the lirc-rpi module
# Params: gpio_out_pin             GPIO pin for output (default "17")
#         gpio_in_pin              GPIO pin for input (default "18")
#         gpio_in_pull             Pull up/down/off on the input pin
#                                  (default "down")
#         sense                    Override the IR receive auto-detection logic:
#                                    "1" = force active high
#                                    "0" = force active low
#                                    "-1" = use auto-detection
#                                  (default "-1")
#         softcarrier              Turn the software carrier "on" or "off"
#                                  (default "on")
#         invert                   "on" = invert the output pin (default "off")
#         debug                    "on" = enable additional debug messages
#                                  (default "off")
dtoverlay=lirc-rpi
#dtparam=gpio_out_pin=17
dtparam=gpio_in_pin=18
dtparam=gpio_in_pull=down

# LCD settings
# 180 degrees
lcd_rotate=2
# Normal
#lcd_rotate=0
#dtoverlay=rpi-backlight
#dtoverlay=rpi-ft5406

# Uncomment if you get no picture on HDMI for a default "safe" mode
#hdmi_safe=1

# Uncomment this if your display has a black border of unused pixels visible
# and your display can output without overscan
#disable_overscan=1

# Uncomment the following to adjust overscan. Use positive numbers if console
# goes off screen, and negative if there is too much border
#overscan_left=16
#overscan_right=16
#overscan_top=16
#overscan_bottom=16

# Uncomment to force a console size. By default it will be display's size minus
# overscan.
#framebuffer_width=1280
#framebuffer_height=720

# Uncomment if hdmi display is not detected and composite is being output
#hdmi_force_hotplug=1

# Uncomment to force a specific HDMI mode (this will force VGA)
#hdmi_group=1
#hdmi_mode=1

# Uncomment to force a HDMI mode rather than DVI. This can make audio work in
# DMT (computer monitor) modes
hdmi_drive=2

# Uncomment to set monitor mode to DMT
#hdmi_group=2

# Uncomment to increase signal to HDMI, if you have interference, blanking, or
# no display
#config_hdmi_boost=4

# setting the max usb current to 1200mA 
max_usb_current=1

# memory options
gpu_mem=64

# Overclocking options
force_turbo=0
