Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Example viki2 config for an azteeg mini V2 with IDC cable
- panel.lcd reprap_discount_glcd # set type of panel
- panel.spi_channel 0 # set spi channel to use P0_18,P0_15 MOSI,SCLK
- panel.spi_cs_pin 0.16 # set spi chip select
- panel.encoder_a_pin nc # encoder pin
- panel.encoder_b_pin nc # encoder pin
- panel.click_button_pin nc # click button
- # panel.a0_pin 2.6 # st7565 needs an a0
- # panel.contrast 8 # override contrast setting (default is 9) miniViki (4 or lower)
- # panel.encoder_resolution 4 # override number of clicks to move 1 item (default is 4)
- # panel.button_pause_pin 1.30^ # kill/pause set one of these for the auxilliary button on viki2
- # panel.back_button_pin 1.30!^ # back button recommended to use this on EXP1
- # panel.buzz_pin 0.25 # pin for buzzer on EXP2
- # panel.red_led_pin 2.8 # pin for red led on viki2 on EXP1
- # panel.blue_led_pin 4.29 # pin for blue led on viki2 on EXP1
- panel.external_sd false # set to true if there is an extrernal sdcard on the panel
- panel.external_sd.spi_channel 0 # set spi channel the sdcard is on
- panel.external_sd.spi_cs_pin 1.23 # set spi chip select for the sdcard
- panel.external_sd.sdcd_pin 1.31!^ # sd detect signal (set to nc if no sdcard detect)
- panel.menu_offset 1 # some panels will need 1 here
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement