File tree Expand file tree Collapse file tree 13 files changed +40
-14
lines changed Expand file tree Collapse file tree 13 files changed +40
-14
lines changed Original file line number Diff line number Diff line change @@ -79,7 +79,9 @@ void board_init(void) {
79
79
& pin_PA28 , // Command or data
80
80
& pin_PA01 , // Chip select
81
81
& pin_PA27 , // Reset
82
- 12000000 );
82
+ 12000000 , // Baudrate
83
+ 0 , // Polarity
84
+ 0 ); // Phase
83
85
84
86
displayio_display_obj_t * display = & displays [0 ].display ;
85
87
display -> base .type = & displayio_display_type ;
Original file line number Diff line number Diff line change @@ -59,7 +59,9 @@ void board_init(void) {
59
59
& pin_PB31 , // TFT_DC Command or data
60
60
& pin_PA27 , // TFT_CS Chip select
61
61
& pin_PB30 , // TFT_RST Reset
62
- 60000000 );
62
+ 60000000 , // Baudrate
63
+ 0 , // Polarity
64
+ 0 ); // Phase
63
65
64
66
displayio_display_obj_t * display = & displays [0 ].display ;
65
67
display -> base .type = & displayio_display_type ;
Original file line number Diff line number Diff line change @@ -60,7 +60,9 @@ void board_init(void) {
60
60
& pin_PA07 , // TFT_DC Command or data
61
61
& pin_PA06 , // TFT_CS Chip select
62
62
& pin_PA04 , // TFT_RST Reset
63
- 60000000 );
63
+ 60000000 , // Baudrate
64
+ 0 , // Polarity
65
+ 0 ); // Phase
64
66
65
67
displayio_display_obj_t * display = & displays [0 ].display ;
66
68
display -> base .type = & displayio_display_type ;
Original file line number Diff line number Diff line change @@ -65,7 +65,9 @@ void board_init(void) {
65
65
& pin_PB05 , // EPD_DC Command or data
66
66
& pin_PB07 , // EPD_CS Chip select
67
67
& pin_PA00 , // EPD_RST Reset
68
- 1000000 );
68
+ 1000000 , // Baudrate
69
+ 0 , // Polarity
70
+ 0 ); // Phase
69
71
70
72
displayio_epaperdisplay_obj_t * display = & displays [0 ].epaper_display ;
71
73
display -> base .type = & displayio_epaperdisplay_type ;
Original file line number Diff line number Diff line change @@ -107,7 +107,9 @@ void board_init(void) {
107
107
& pin_PA16 , // TFT_DC Command or data
108
108
& pin_PA11 , // TFT_CS Chip select
109
109
& pin_PA17 , // TFT_RST Reset
110
- 60000000 );
110
+ 60000000 , // Baudrate
111
+ 0 , // Polarity
112
+ 0 ); // Phase
111
113
112
114
uint32_t cfg0 = lookupCfg (CFG_DISPLAY_CFG0 , 0x000000 );
113
115
uint32_t offX = (cfg0 >> 8 ) & 0xff ;
Original file line number Diff line number Diff line change @@ -82,7 +82,9 @@ void board_init(void) {
82
82
& pin_PB05 , // TFT_DC Command or data
83
83
& pin_PB07 , // TFT_CS Chip select
84
84
& pin_PA00 , // TFT_RST Reset
85
- 60000000 );
85
+ 60000000 , // Baudrate
86
+ 0 , // Polarity
87
+ 0 ); // Phase
86
88
87
89
displayio_display_obj_t * display = & displays [0 ].display ;
88
90
display -> base .type = & displayio_display_type ;
Original file line number Diff line number Diff line change @@ -60,7 +60,9 @@ void board_init(void) {
60
60
& pin_PB05 , // TFT_DC Command or data
61
61
& pin_PB06 , // TFT_CS Chip select
62
62
& pin_PB07 , // TFT_RST Reset
63
- 60000000 );
63
+ 60000000 , // Baudrate
64
+ 0 , // Polarity
65
+ 0 ); // Phase
64
66
65
67
displayio_display_obj_t * display = & displays [0 ].display ;
66
68
display -> base .type = & displayio_display_type ;
Original file line number Diff line number Diff line change @@ -82,7 +82,9 @@ void board_init(void) {
82
82
& pin_PB05 , // TFT_DC Command or data
83
83
& pin_PB12 , // TFT_CS Chip select
84
84
& pin_PA00 , // TFT_RST Reset
85
- 60000000 );
85
+ 60000000 , // Baudrate
86
+ 0 , // Polarity
87
+ 0 ); // Phase
86
88
87
89
displayio_display_obj_t * display = & displays [0 ].display ;
88
90
display -> base .type = & displayio_display_type ;
Original file line number Diff line number Diff line change @@ -60,7 +60,9 @@ void board_init(void) {
60
60
& pin_PA00 , // TFT_DC Command or data
61
61
& pin_PB15 , // TFT_CS Chip select
62
62
& pin_PB05 , // TFT_RST Reset
63
- 60000000 );
63
+ 60000000 , // Baudrate
64
+ 0 , // Polarity
65
+ 0 ); // Phase
64
66
65
67
displayio_display_obj_t * display = & displays [0 ].display ;
66
68
display -> base .type = & displayio_display_type ;
Original file line number Diff line number Diff line change @@ -79,7 +79,9 @@ void board_init(void) {
79
79
& pin_PA09 , // Command or data
80
80
& pin_PA08 , // Chip select
81
81
NULL , // Reset
82
- 24000000 );
82
+ 24000000 , // Baudrate
83
+ 0 , // Polarity
84
+ 0 ); // Phase
83
85
84
86
displayio_display_obj_t * display = & displays [0 ].display ;
85
87
display -> base .type = & displayio_display_type ;
You can’t perform that action at this time.
0 commit comments