File tree Expand file tree Collapse file tree
shared-bindings/displayio Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -79,7 +79,9 @@ void board_init(void) {
7979 & pin_PA28 , // Command or data
8080 & pin_PA01 , // Chip select
8181 & pin_PA27 , // Reset
82- 12000000 );
82+ 12000000 , // Baudrate
83+ 0 , // Polarity
84+ 0 ); // Phase
8385
8486 displayio_display_obj_t * display = & displays [0 ].display ;
8587 display -> base .type = & displayio_display_type ;
Original file line number Diff line number Diff line change @@ -59,7 +59,9 @@ void board_init(void) {
5959 & pin_PB31 , // TFT_DC Command or data
6060 & pin_PA27 , // TFT_CS Chip select
6161 & pin_PB30 , // TFT_RST Reset
62- 60000000 );
62+ 60000000 , // Baudrate
63+ 0 , // Polarity
64+ 0 ); // Phase
6365
6466 displayio_display_obj_t * display = & displays [0 ].display ;
6567 display -> base .type = & displayio_display_type ;
Original file line number Diff line number Diff line change @@ -60,7 +60,9 @@ void board_init(void) {
6060 & pin_PA07 , // TFT_DC Command or data
6161 & pin_PA06 , // TFT_CS Chip select
6262 & pin_PA04 , // TFT_RST Reset
63- 60000000 );
63+ 60000000 , // Baudrate
64+ 0 , // Polarity
65+ 0 ); // Phase
6466
6567 displayio_display_obj_t * display = & displays [0 ].display ;
6668 display -> base .type = & displayio_display_type ;
Original file line number Diff line number Diff line change @@ -65,7 +65,9 @@ void board_init(void) {
6565 & pin_PB05 , // EPD_DC Command or data
6666 & pin_PB07 , // EPD_CS Chip select
6767 & pin_PA00 , // EPD_RST Reset
68- 1000000 );
68+ 1000000 , // Baudrate
69+ 0 , // Polarity
70+ 0 ); // Phase
6971
7072 displayio_epaperdisplay_obj_t * display = & displays [0 ].epaper_display ;
7173 display -> base .type = & displayio_epaperdisplay_type ;
Original file line number Diff line number Diff line change @@ -107,7 +107,9 @@ void board_init(void) {
107107 & pin_PA16 , // TFT_DC Command or data
108108 & pin_PA11 , // TFT_CS Chip select
109109 & pin_PA17 , // TFT_RST Reset
110- 60000000 );
110+ 60000000 , // Baudrate
111+ 0 , // Polarity
112+ 0 ); // Phase
111113
112114 uint32_t cfg0 = lookupCfg (CFG_DISPLAY_CFG0 , 0x000000 );
113115 uint32_t offX = (cfg0 >> 8 ) & 0xff ;
Original file line number Diff line number Diff line change @@ -82,7 +82,9 @@ void board_init(void) {
8282 & pin_PB05 , // TFT_DC Command or data
8383 & pin_PB07 , // TFT_CS Chip select
8484 & pin_PA00 , // TFT_RST Reset
85- 60000000 );
85+ 60000000 , // Baudrate
86+ 0 , // Polarity
87+ 0 ); // Phase
8688
8789 displayio_display_obj_t * display = & displays [0 ].display ;
8890 display -> base .type = & displayio_display_type ;
Original file line number Diff line number Diff line change @@ -60,7 +60,9 @@ void board_init(void) {
6060 & pin_PB05 , // TFT_DC Command or data
6161 & pin_PB06 , // TFT_CS Chip select
6262 & pin_PB07 , // TFT_RST Reset
63- 60000000 );
63+ 60000000 , // Baudrate
64+ 0 , // Polarity
65+ 0 ); // Phase
6466
6567 displayio_display_obj_t * display = & displays [0 ].display ;
6668 display -> base .type = & displayio_display_type ;
Original file line number Diff line number Diff line change @@ -82,7 +82,9 @@ void board_init(void) {
8282 & pin_PB05 , // TFT_DC Command or data
8383 & pin_PB12 , // TFT_CS Chip select
8484 & pin_PA00 , // TFT_RST Reset
85- 60000000 );
85+ 60000000 , // Baudrate
86+ 0 , // Polarity
87+ 0 ); // Phase
8688
8789 displayio_display_obj_t * display = & displays [0 ].display ;
8890 display -> base .type = & displayio_display_type ;
Original file line number Diff line number Diff line change @@ -60,7 +60,9 @@ void board_init(void) {
6060 & pin_PA00 , // TFT_DC Command or data
6161 & pin_PB15 , // TFT_CS Chip select
6262 & pin_PB05 , // TFT_RST Reset
63- 60000000 );
63+ 60000000 , // Baudrate
64+ 0 , // Polarity
65+ 0 ); // Phase
6466
6567 displayio_display_obj_t * display = & displays [0 ].display ;
6668 display -> base .type = & displayio_display_type ;
Original file line number Diff line number Diff line change @@ -79,7 +79,9 @@ void board_init(void) {
7979 & pin_PA09 , // Command or data
8080 & pin_PA08 , // Chip select
8181 NULL , // Reset
82- 24000000 );
82+ 24000000 , // Baudrate
83+ 0 , // Polarity
84+ 0 ); // Phase
8385
8486 displayio_display_obj_t * display = & displays [0 ].display ;
8587 display -> base .type = & displayio_display_type ;
You can’t perform that action at this time.
0 commit comments