Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
panel-options [2018/08/17 10:29]
78.174.146.205
panel-options [2019/02/05 17:51] (current)
wolfmanjm old revision restored (2019/01/18 10:04)
Line 3: Line 3:
 || panel.spi_channel || 0 || SPI channel to use ||  || panel.spi_channel || 0 || SPI channel to use || 
 || panel.spi_cs_pin || <​kbd>​0.16</​kbd>​ || CS ( Chip Select ) pin to use, this can be used to have several different devices on the same SPI port, as long as each device has a separate CS pin. Note that the RRD GLCD panel does not support this and requires being alone on it's port. ||  || panel.spi_cs_pin || <​kbd>​0.16</​kbd>​ || CS ( Chip Select ) pin to use, this can be used to have several different devices on the same SPI port, as long as each device has a separate CS pin. Note that the RRD GLCD panel does not support this and requires being alone on it's port. || 
-|| panel.spi_frequency || 500000 || SPI port frequency ||+|| panel.spi_frequency || 500000 || SPI port frequency ​- some panel need it explicitly set||
 || panel.contrast || 9 || Contrast value for panels that support it ( <​kbd>​viki2</​kbd>,​ <​kbd>​mini_viki2</​kbd>​ and <​kbd>​st7565_glcd</​kbd>​ ) || || panel.contrast || 9 || Contrast value for panels that support it ( <​kbd>​viki2</​kbd>,​ <​kbd>​mini_viki2</​kbd>​ and <​kbd>​st7565_glcd</​kbd>​ ) ||
 || panel.reverse || false || If set to true, reverse the screen. || || panel.reverse || false || If set to true, reverse the screen. ||
Line 9: Line 9:
 || panel.a0_pin || <​kbd>​nc</​kbd>​ || If using a viki or SSD1306 this is needed to drive the C/D pin on the display || || panel.a0_pin || <​kbd>​nc</​kbd>​ || If using a viki or SSD1306 this is needed to drive the C/D pin on the display ||
 || panel.rst_pin || <​kbd>​nc</​kbd>​ || If using an SSD1306 this pin is sometimes required and connects to the reset pin on the display || || panel.rst_pin || <​kbd>​nc</​kbd>​ || If using an SSD1306 this pin is sometimes required and connects to the reset pin on the display ||
-|| panel.encoder_a_pin || <​kbd>​3.25!^</​kbd>​ || A pin for the encoder wheel. Encoders have two pins : A and B. Set to <​kbd>​nc</​kbd>​ if you use no encoder. ||  +|| panel.encoder_a_pin || <​kbd>​3.25!^</​kbd>​ || A pin for the encoder wheel. Encoders have two pins : A and B. Set to <​kbd>​nc</​kbd>​ if you use no encoder. ​^ defines menu move direction ​||  
-|| panel.encoder_b_pin || <​kbd>​3.26!^</​kbd>​ || B pin for the encoder wheel. Encoders have two pins : A and B. Set to <​kbd>​nc</​kbd>​ if you use no encoder. || +|| panel.encoder_b_pin || <​kbd>​3.26!^</​kbd>​ || B pin for the encoder wheel. Encoders have two pins : A and B. Set to <​kbd>​nc</​kbd>​ if you use no encoder. ​^ defines menu move direction ​|| 
 || panel.encoder_resolution || <​kbd>​2</​kbd>​ || the number of pulses the encoder emits per detent/​click ||  || panel.encoder_resolution || <​kbd>​2</​kbd>​ || the number of pulses the encoder emits per detent/​click || 
 || panel.click_button_pin || <​kbd>​1.30!^</​kbd>​ || Pin for the click ( "​enter"​ ) button ||  || panel.click_button_pin || <​kbd>​1.30!^</​kbd>​ || Pin for the click ( "​enter"​ ) button ||