-
-
Notifications
You must be signed in to change notification settings - Fork 239
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #437 from aaarsene/fysetc_mini12864_v1.2_v2.0
Add Fysetc mini12864 v1.2 and v2.0
- Loading branch information
Showing
3 changed files
with
72 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# Neopixel leds integrated in the Fysetc mini12864 display | ||
[gcode_macro _USER_VARIABLES] | ||
variable_status_leds_minidisplay_enabled = True | ||
variable_status_leds_minidisplay_led_name: "fysetc_mini12864" | ||
gcode: | ||
|
||
# Also include directly the leds control macros from here | ||
[include ../../../macros/hardware_functions/status_leds.cfg] | ||
|
||
|
||
[display] | ||
lcd_type: uc1701 | ||
cs_pin: EXP1_8 | ||
a0_pin: EXP1_7 | ||
rst_pin: EXP1_6 | ||
encoder_pins: ^EXP2_8, ^EXP2_6 | ||
click_pin: ^!EXP1_9 | ||
## Some micro-controller boards may require an spi bus to be specified: | ||
#spi_bus: spi | ||
## Alternatively, some micro-controller boards may work with software spi: | ||
contrast: 63 | ||
spi_software_miso_pin: EXP2_10 | ||
spi_software_mosi_pin: EXP2_5 | ||
spi_software_sclk_pin: EXP2_9 | ||
|
||
[output_pin beeper] | ||
pin: EXP1_10 | ||
|
||
[led fysetc_mini12864] | ||
red_pin: EXP1_5 | ||
green_pin: EXP1_4 | ||
blue_pin: EXP1_3 | ||
initial_RED: 0.1 | ||
initial_GREEN: 0.5 | ||
initial_BLUE: 0.0 |
35 changes: 35 additions & 0 deletions
35
config/hardware/displays/Fysetc_mini12864_v1.2_v2.0_inversed.cfg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# Neopixel leds integrated in the Fysetc mini12864 display | ||
[gcode_macro _USER_VARIABLES] | ||
variable_status_leds_minidisplay_enabled = True | ||
variable_status_leds_minidisplay_led_name: "fysetc_mini12864" | ||
gcode: | ||
|
||
# Also include directly the leds control macros from here | ||
[include ../../../macros/hardware_functions/status_leds.cfg] | ||
|
||
|
||
[display] | ||
lcd_type: uc1701 | ||
cs_pin: EXP1_3 | ||
a0_pin: EXP1_4 | ||
rst_pin: EXP1_5 | ||
encoder_pins: ^EXP2_3, ^EXP2_5 | ||
click_pin: ^!EXP1_2 | ||
## Some micro-controller boards may require an spi bus to be specified: | ||
#spi_bus: spi | ||
## Alternatively, some micro-controller boards may work with software spi: | ||
contrast: 63 | ||
spi_software_miso_pin: EXP2_1 | ||
spi_software_mosi_pin: EXP2_6 | ||
spi_software_sclk_pin: EXP2_2 | ||
|
||
[output_pin beeper] | ||
pin: EXP1_1 | ||
|
||
[led fysetc_mini12864] | ||
red_pin: EXP1_6 | ||
green_pin: EXP1_7 | ||
blue_pin: EXP1_8 | ||
initial_RED: 0.1 | ||
initial_GREEN: 0.5 | ||
initial_BLUE: 0.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters