Advertisement
Guest User

Untitled

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