Hello, I'm trying to run this code for auduino on an esp32 super mini c3.
I tried several different options but I'm ashamed to show them, the code runs perfectly on the Arduino.If you like the menu design, feel free to use it. I promise to upload it when it's finished.Please don't laugh at me, this is my first time programming.
#include "U8glib.h"
U8GLIB_SSD1306_128X64 u8g(U8G_I2C_OPT_DEV_0 | U8G_I2C_OPT_NO_ACK | U8G_I2C_OPT_FAST); // Fast I2C / TWI
// 'display esp32', 128x64px
const unsigned char epd_bitmap_display_esp32 [] PROGMEM = {
0xff, 0xff, 0xf8, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0xdf, 0xfb, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xfb,
0xff, 0xcf, 0xf9, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xf3,
0xff, 0xc7, 0xf8, 0xff, 0xff, 0xff, 0xff, 0xfb, 0xfd, 0x00, 0x00, 0x7f, 0xff, 0xff, 0xff, 0xe3,
0xff, 0xd3, 0xf8, 0x7f, 0xff, 0xff, 0xff, 0xf9, 0xf9, 0x3c, 0x7e, 0x7f, 0xff, 0xff, 0xff, 0xc3,
0xff, 0xdb, 0xf8, 0x3f, 0xff, 0xff, 0xff, 0xf8, 0x61, 0x3c, 0x7e, 0x7f, 0xff, 0xff, 0xff, 0x83,
0xff, 0xdf, 0xf8, 0x1f, 0xff, 0xff, 0xff, 0xf8, 0x01, 0x3c, 0x40, 0x7f, 0xff, 0xff, 0xff, 0x03,
0xff, 0xdf, 0xf8, 0x3f, 0xff, 0xff, 0xff, 0xf8, 0x99, 0x00, 0x7e, 0x7f, 0xff, 0xff, 0xff, 0x83,
0xfe, 0x1f, 0xf8, 0x7f, 0xff, 0xff, 0xff, 0xf8, 0xf9, 0x1f, 0xfe, 0x7f, 0xff, 0xff, 0xff, 0xc3,
0xfd, 0x1f, 0xf8, 0xff, 0xff, 0xff, 0xff, 0xf8, 0xf9, 0x1f, 0xfe, 0x7f, 0xff, 0xff, 0xff, 0xe3,
0xfc, 0x1f, 0xf9, 0xff, 0xff, 0xff, 0xff, 0xf8, 0xf9, 0x1f, 0x80, 0x7f, 0xff, 0xff, 0xff, 0xf3,
0xfe, 0x3f, 0xfb, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xfb,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0xf8, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x30, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x01, 0xb8, 0x00, 0x01, 0xfe, 0x70, 0x60, 0xdf, 0xff, 0xfd, 0xfe, 0x7f, 0xbf, 0xf8, 0x70, 0x00,
0x00, 0xec, 0x00, 0x01, 0xc6, 0x70, 0x60, 0xd8, 0x00, 0xc1, 0x86, 0x61, 0x83, 0x18, 0x70, 0x00,
0x00, 0x78, 0x00, 0x01, 0xc6, 0x70, 0x60, 0xd8, 0x00, 0xc1, 0x86, 0x61, 0x83, 0x18, 0x70, 0x00,
0x00, 0x20, 0x00, 0x01, 0xff, 0x70, 0x60, 0xdf, 0xe0, 0xc1, 0x86, 0x61, 0x83, 0x18, 0x70, 0x00,
0x00, 0x78, 0x00, 0x01, 0xc7, 0x70, 0x60, 0xdf, 0xe0, 0xc1, 0x86, 0x61, 0x83, 0x1f, 0xf0, 0x00,
0x00, 0xec, 0x00, 0x01, 0xc7, 0x70, 0x60, 0xd8, 0x00, 0xc1, 0x86, 0x61, 0x83, 0x18, 0x70, 0x00,
0x01, 0xb8, 0x00, 0x01, 0xc7, 0x70, 0x60, 0xd8, 0x00, 0xc0, 0xc6, 0x31, 0x83, 0x18, 0x70, 0x00,
0x00, 0x30, 0x00, 0x01, 0xff, 0x7f, 0xff, 0xdf, 0xf0, 0xc0, 0xfe, 0x3f, 0x83, 0x18, 0x70, 0x00,
0x00, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0xff, 0xff, 0xf8, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x02, 0x22, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x0a, 0xaa, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0x80, 0x40, 0x00, 0x00, 0x00, 0x00, 0x00,
0x0a, 0xaa, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0xc0, 0xc0, 0xc0, 0x00, 0x00, 0x00, 0x00, 0x00,
0x2a, 0xaa, 0xa0, 0x00, 0x00, 0x00, 0x00, 0x00, 0xc1, 0xf3, 0xc0, 0x00, 0x00, 0x00, 0x00, 0x00,
0x2a, 0xaa, 0xa0, 0x00, 0x00, 0x00, 0x00, 0x00, 0xfe, 0xff, 0xc0, 0x00, 0x00, 0x00, 0x00, 0x00,
0x0a, 0xaa, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0xc0, 0xec, 0xc0, 0x00, 0x00, 0x00, 0x00, 0x00,
0x0a, 0xaa, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0xc0, 0xe0, 0xc0, 0x00, 0x00, 0x00, 0x00, 0x00,
0x02, 0x22, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xc0, 0xe0, 0xc0, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xc0, 0xe0, 0xc0, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0xff, 0xff, 0xf8, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x3f, 0xff, 0xe0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x3f, 0xff, 0xe0, 0x00, 0x00, 0x00, 0x00, 0x3f, 0xe8, 0x07, 0xfe, 0xff, 0x00, 0x00, 0x00, 0x00,
0x39, 0xf9, 0x20, 0x00, 0x00, 0x00, 0x7f, 0xf8, 0x6c, 0x0f, 0x01, 0xc0, 0x00, 0x00, 0x00, 0x00,
0x39, 0xf9, 0x20, 0x00, 0x00, 0x00, 0x60, 0x38, 0x6f, 0x3f, 0x01, 0xc0, 0x00, 0x00, 0x00, 0x00,
0x20, 0x7f, 0xe0, 0x00, 0x00, 0x00, 0x60, 0x3f, 0xef, 0xff, 0xfd, 0xff, 0x00, 0x00, 0x00, 0x00,
0x20, 0x7f, 0xe0, 0x00, 0x00, 0x00, 0x61, 0xf0, 0x6e, 0xcf, 0xfd, 0xff, 0x00, 0x00, 0x00, 0x00,
0x39, 0xf9, 0x20, 0x00, 0x00, 0x00, 0x61, 0xf0, 0x6e, 0x0f, 0x00, 0x07, 0x00, 0x00, 0x00, 0x00,
0x39, 0xf9, 0x20, 0x00, 0x00, 0x00, 0x61, 0xf0, 0x6e, 0x0f, 0x00, 0x07, 0x00, 0x00, 0x00, 0x00,
0x3f, 0xff, 0xe0, 0x00, 0x00, 0x00, 0x7f, 0xc0, 0x0e, 0x0f, 0xff, 0xfe, 0x00, 0x00, 0x00, 0x00,
0x3f, 0xff, 0xe0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
};
void setup() {
u8g.setFont(u8g_font_tpssb);
u8g.setColorIndex(1);
}
void loop() {
u8g.firstPage();
do {
u8g.drawBitmapP( 0, 0, 128/8, 64, epd_bitmap_display_esp32);
} while ( u8g.nextPage() );
}
the errors
c:\Users\Asus\Documents\Arduino\libraries\U8glib\src\clib\u8g_com_arduino_fast_parallel.c: In function 'u8g_com_arduino_fast_parallel_init':
c:\Users\Asus\Documents\Arduino\libraries\U8glib\src\clib\u8g_com_arduino_fast_parallel.c:104:20: error: assignment to 'volatile uint8_t *' {aka 'volatile unsigned char *'} from incompatible pointer type 'volatile uint32_t *' {aka 'volatile long unsigned int *'} [-Wincompatible-pointer-types]
104 | u8g_data_port[0] = portOutputRegister(digitalPinToPort(u8g->pin_list[U8G_PI_D0]));
| ^
c:\Users\Asus\Documents\Arduino\libraries\U8glib\src\clib\u8g_com_arduino_fast_parallel.c:106:20: error: assignment to 'volatile uint8_t *' {aka 'volatile unsigned char *'} from incompatible pointer type 'volatile uint32_t *' {aka 'volatile long unsigned int *'} [-Wincompatible-pointer-types]
106 | u8g_data_port[1] = portOutputRegister(digitalPinToPort(u8g->pin_list[U8G_PI_D1]));
| ^
c:\Users\Asus\Documents\Arduino\libraries\U8glib\src\clib\u8g_com_arduino_fast_parallel.c:108:20: error: assignment to 'volatile uint8_t *' {aka 'volatile unsigned char *'} from incompatible pointer type 'volatile uint32_t *' {aka 'volatile long unsigned int *'} [-Wincompatible-pointer-types]
108 | u8g_data_port[2] = portOutputRegister(digitalPinToPort(u8g->pin_list[U8G_PI_D2]));
| ^
c:\Users\Asus\Documents\Arduino\libraries\U8glib\src\clib\u8g_com_arduino_fast_parallel.c:110:20: error: assignment to 'volatile uint8_t *' {aka 'volatile unsigned char *'} from incompatible pointer type 'volatile uint32_t *' {aka 'volatile long unsigned int *'} [-Wincompatible-pointer-types]
110 | u8g_data_port[3] = portOutputRegister(digitalPinToPort(u8g->pin_list[U8G_PI_D3]));
| ^
c:\Users\Asus\Documents\Arduino\libraries\U8glib\src\clib\u8g_com_arduino_fast_parallel.c:113:20: error: assignment to 'volatile uint8_t *' {aka 'volatile unsigned char *'} from incompatible pointer type 'volatile uint32_t *' {aka 'volatile long unsigned int *'} [-Wincompatible-pointer-types]
113 | u8g_data_port[4] = portOutputRegister(digitalPinToPort(u8g->pin_list[U8G_PI_D4]));
| ^
c:\Users\Asus\Documents\Arduino\libraries\U8glib\src\clib\u8g_com_arduino_fast_parallel.c:115:20: error: assignment to 'volatile uint8_t *' {aka 'volatile unsigned char *'} from incompatible pointer type 'volatile uint32_t *' {aka 'volatile long unsigned int *'} [-Wincompatible-pointer-types]
115 | u8g_data_port[5] = portOutputRegister(digitalPinToPort(u8g->pin_list[U8G_PI_D5]));
| ^
c:\Users\Asus\Documents\Arduino\libraries\U8glib\src\clib\u8g_com_arduino_fast_parallel.c:117:20: error: assignment to 'volatile uint8_t *' {aka 'volatile unsigned char *'} from incompatible pointer type 'volatile uint32_t *' {aka 'volatile long unsigned int *'} [-Wincompatible-pointer-types]
117 | u8g_data_port[6] = portOutputRegister(digitalPinToPort(u8g->pin_list[U8G_PI_D6]));
| ^
c:\Users\Asus\Documents\Arduino\libraries\U8glib\src\clib\u8g_com_arduino_fast_parallel.c:119:20: error: assignment to 'volatile uint8_t *' {aka 'volatile unsigned char *'} from incompatible pointer type 'volatile uint32_t *' {aka 'volatile long unsigned int *'} [-Wincompatible-pointer-types]
119 | u8g_data_port[7] = portOutputRegister(digitalPinToPort(u8g->pin_list[U8G_PI_D7]));
| ^
c:\Users\Asus\Documents\Arduino\libraries\U8glib\src\clib\u8g_com_arduino_t6963.c: In function 'u8g_com_arduino_t6963_init':
c:\Users\Asus\Documents\Arduino\libraries\U8glib\src\clib\u8g_com_arduino_t6963.c:92:27: error: assignment to 'volatile uint8_t *' {aka 'volatile unsigned char *'} from incompatible pointer type 'volatile uint32_t *' {aka 'volatile long unsigned int *'} [-Wincompatible-pointer-types]
92 | u8g_output_data_port[0] = portOutputRegister(digitalPinToPort(u8g->pin_list[U8G_PI_D0]));
| ^
c:\Users\Asus\Documents\Arduino\libraries\U8glib\src\clib\u8g_com_arduino_t6963.c:93:26: error: assignment to 'volatile uint8_t *' {aka 'volatile unsigned char *'} from incompatible pointer type 'volatile uint32_t *' {aka 'volatile long unsigned int *'} [-Wincompatible-pointer-types]
93 | u8g_input_data_port[0] = portInputRegister(digitalPinToPort(u8g->pin_list[U8G_PI_D0]));
| ^
c:\Users\Asus\Documents\Arduino\libraries\U8glib\src\clib\u8g_com_arduino_t6963.c:94:20: error: assignment to 'volatile uint8_t *' {aka 'volatile unsigned char *'} from incompatible pointer type 'volatile uint32_t *' {aka 'volatile long unsigned int *'} [-Wincompatible-pointer-types]
94 | u8g_mode_port[0] = portModeRegister(digitalPinToPort(u8g->pin_list[U8G_PI_D0]));
| ^
c:\Users\Asus\Documents\Arduino\libraries\U8glib\src\clib\u8g_com_arduino_t6963.c:97:27: error: assignment to 'volatile uint8_t *' {aka 'volatile unsigned char *'} from incompatible pointer type 'volatile uint32_t *' {aka 'volatile long unsigned int *'} [-Wincompatible-pointer-types]
97 | u8g_output_data_port[1] = portOutputRegister(digitalPinToPort(u8g->pin_list[U8G_PI_D1]));
| ^
c:\Users\Asus\Documents\Arduino\libraries\U8glib\src\clib\u8g_com_arduino_t6963.c:98:26: error: assignment to 'volatile uint8_t *' {aka 'volatile unsigned char *'} from incompatible pointer type 'volatile uint32_t *' {aka 'volatile long unsigned int *'} [-Wincompatible-pointer-types]
98 | u8g_input_data_port[1] = portInputRegister(digitalPinToPort(u8g->pin_list[U8G_PI_D1]));
| ^
c:\Users\Asus\Documents\Arduino\libraries\U8glib\src\clib\u8g_com_arduino_t6963.c:99:20: error: assignment to 'volatile uint8_t *' {aka 'volatile unsigned char *'} from incompatible pointer type 'volatile uint32_t *' {aka 'volatile long unsigned int *'} [-Wincompatible-pointer-types]
99 | u8g_mode_port[1] = portModeRegister(digitalPinToPort(u8g->pin_list[U8G_PI_D1]));
| ^
c:\Users\Asus\Documents\Arduino\libraries\U8glib\src\clib\u8g_com_arduino_t6963.c:102:27: error: assignment to 'volatile uint8_t *' {aka 'volatile unsigned char *'} from incompatible pointer type 'volatile uint32_t *' {aka 'volatile long unsigned int *'} [-Wincompatible-pointer-types]
102 | u8g_output_data_port[2] = portOutputRegister(digitalPinToPort(u8g->pin_list[U8G_PI_D2]));
| ^
c:\Users\Asus\Documents\Arduino\libraries\U8glib\src\clib\u8g_com_arduino_t6963.c:103:26: error: assignment to 'volatile uint8_t *' {aka 'volatile unsigned char *'} from incompatible pointer type 'volatile uint32_t *' {aka 'volatile long unsigned int *'} [-Wincompatible-pointer-types]
103 | u8g_input_data_port[2] = portInputRegister(digitalPinToPort(u8g->pin_list[U8G_PI_D2]));
| ^
c:\Users\Asus\Documents\Arduino\libraries\U8glib\src\clib\u8g_com_arduino_t6963.c:104:20: error: assignment to 'volatile uint8_t *' {aka 'volatile unsigned char *'} from incompatible pointer type 'volatile uint32_t *' {aka 'volatile long unsigned int *'} [-Wincompatible-pointer-types]
104 | u8g_mode_port[2] = portModeRegister(digitalPinToPort(u8g->pin_list[U8G_PI_D2]));
| ^
c:\Users\Asus\Documents\Arduino\libraries\U8glib\src\clib\u8g_com_arduino_t6963.c:107:27: error: assignment to 'volatile uint8_t *' {aka 'volatile unsigned char *'} from incompatible pointer type 'volatile uint32_t *' {aka 'volatile long unsigned int *'} [-Wincompatible-pointer-types]
107 | u8g_output_data_port[3] = portOutputRegister(digitalPinToPort(u8g->pin_list[U8G_PI_D3]));
| ^
c:\Users\Asus\Documents\Arduino\libraries\U8glib\src\clib\u8g_com_arduino_t6963.c:108:26: error: assignment to 'volatile uint8_t *' {aka 'volatile unsigned char *'} from incompatible pointer type 'volatile uint32_t *' {aka 'volatile long unsigned int *'} [-Wincompatible-pointer-types]
108 | u8g_input_data_port[3] = portInputRegister(digitalPinToPort(u8g->pin_list[U8G_PI_D3]));
| ^
c:\Users\Asus\Documents\Arduino\libraries\U8glib\src\clib\u8g_com_arduino_t6963.c:109:20: error: assignment to 'volatile uint8_t *' {aka 'volatile unsigned char *'} from incompatible pointer type 'volatile uint32_t *' {aka 'volatile long unsigned int *'} [-Wincompatible-pointer-types]
109 | u8g_mode_port[3] = portModeRegister(digitalPinToPort(u8g->pin_list[U8G_PI_D3]));
| ^
c:\Users\Asus\Documents\Arduino\libraries\U8glib\src\clib\u8g_com_arduino_t6963.c:112:27: error: assignment to 'volatile uint8_t *' {aka 'volatile unsigned char *'} from incompatible pointer type 'volatile uint32_t *' {aka 'volatile long unsigned int *'} [-Wincompatible-pointer-types]
112 | u8g_output_data_port[4] = portOutputRegister(digitalPinToPort(u8g->pin_list[U8G_PI_D4]));
| ^
c:\Users\Asus\Documents\Arduino\libraries\U8glib\src\clib\u8g_com_arduino_t6963.c:113:26: error: assignment to 'volatile uint8_t *' {aka 'volatile unsigned char *'} from incompatible pointer type 'volatile uint32_t *' {aka 'volatile long unsigned int *'} [-Wincompatible-pointer-types]
113 | u8g_input_data_port[4] = portInputRegister(digitalPinToPort(u8g->pin_list[U8G_PI_D4]));
| ^
c:\Users\Asus\Documents\Arduino\libraries\U8glib\src\clib\u8g_com_arduino_t6963.c:114:20: error: assignment to 'volatile uint8_t *' {aka 'volatile unsigned char *'} from incompatible pointer type 'volatile uint32_t *' {aka 'volatile long unsigned int *'} [-Wincompatible-pointer-types]
114 | u8g_mode_port[4] = portModeRegister(digitalPinToPort(u8g->pin_list[U8G_PI_D4]));
| ^
c:\Users\Asus\Documents\Arduino\libraries\U8glib\src\clib\u8g_com_arduino_t6963.c:117:27: error: assignment to 'volatile uint8_t *' {aka 'volatile unsigned char *'} from incompatible pointer type 'volatile uint32_t *' {aka 'volatile long unsigned int *'} [-Wincompatible-pointer-types]
117 | u8g_output_data_port[5] = portOutputRegister(digitalPinToPort(u8g->pin_list[U8G_PI_D5]));
| ^
c:\Users\Asus\Documents\Arduino\libraries\U8glib\src\clib\u8g_com_arduino_t6963.c:118:26: error: assignment to 'volatile uint8_t *' {aka 'volatile unsigned char *'} from incompatible pointer type 'volatile uint32_t *' {aka 'volatile long unsigned int *'} [-Wincompatible-pointer-types]
118 | u8g_input_data_port[5] = portInputRegister(digitalPinToPort(u8g->pin_list[U8G_PI_D5]));
| ^
c:\Users\Asus\Documents\Arduino\libraries\U8glib\src\clib\u8g_com_arduino_t6963.c:119:20: error: assignment to 'volatile uint8_t *' {aka 'volatile unsigned char *'} from incompatible pointer type 'volatile uint32_t *' {aka 'volatile long unsigned int *'} [-Wincompatible-pointer-types]
119 | u8g_mode_port[5] = portModeRegister(digitalPinToPort(u8g->pin_list[U8G_PI_D5]));
| ^
c:\Users\Asus\Documents\Arduino\libraries\U8glib\src\clib\u8g_com_arduino_t6963.c:122:27: error: assignment to 'volatile uint8_t *' {aka 'volatile unsigned char *'} from incompatible pointer type 'volatile uint32_t *' {aka 'volatile long unsigned int *'} [-Wincompatible-pointer-types]
122 | u8g_output_data_port[6] = portOutputRegister(digitalPinToPort(u8g->pin_list[U8G_PI_D6]));
| ^
c:\Users\Asus\Documents\Arduino\libraries\U8glib\src\clib\u8g_com_arduino_t6963.c:123:26: error: assignment to 'volatile uint8_t *' {aka 'volatile unsigned char *'} from incompatible pointer type 'volatile uint32_t *' {aka 'volatile long unsigned int *'} [-Wincompatible-pointer-types]
123 | u8g_input_data_port[6] = portInputRegister(digitalPinToPort(u8g->pin_list[U8G_PI_D6]));
| ^
c:\Users\Asus\Documents\Arduino\libraries\U8glib\src\clib\u8g_com_arduino_t6963.c:124:20: error: assignment to 'volatile uint8_t *' {aka 'volatile unsigned char *'} from incompatible pointer type 'volatile uint32_t *' {aka 'volatile long unsigned int *'} [-Wincompatible-pointer-types]
124 | u8g_mode_port[6] = portModeRegister(digitalPinToPort(u8g->pin_list[U8G_PI_D6]));
| ^
c:\Users\Asus\Documents\Arduino\libraries\U8glib\src\clib\u8g_com_arduino_t6963.c:127:27: error: assignment to 'volatile uint8_t *' {aka 'volatile unsigned char *'} from incompatible pointer type 'volatile uint32_t *' {aka 'volatile long unsigned int *'} [-Wincompatible-pointer-types]
127 | u8g_output_data_port[7] = portOutputRegister(digitalPinToPort(u8g->pin_list[U8G_PI_D7]));
| ^
c:\Users\Asus\Documents\Arduino\libraries\U8glib\src\clib\u8g_com_arduino_t6963.c:128:26: error: assignment to 'volatile uint8_t *' {aka 'volatile unsigned char *'} from incompatible pointer type 'volatile uint32_t *' {aka 'volatile long unsigned int *'} [-Wincompatible-pointer-types]
128 | u8g_input_data_port[7] = portInputRegister(digitalPinToPort(u8g->pin_list[U8G_PI_D7]));
| ^
c:\Users\Asus\Documents\Arduino\libraries\U8glib\src\clib\u8g_com_arduino_t6963.c:129:20: error: assignment to 'volatile uint8_t *' {aka 'volatile unsigned char *'} from incompatible pointer type 'volatile uint32_t *' {aka 'volatile long unsigned int *'} [-Wincompatible-pointer-types]
129 | u8g_mode_port[7] = portModeRegister(digitalPinToPort(u8g->pin_list[U8G_PI_D7]));
| ^
c:\Users\Asus\Documents\Arduino\libraries\U8glib\src\clib\u8g_com_arduino_no_en_parallel.c: In function 'u8g_com_arduino_no_en_parallel_init':
c:\Users\Asus\Documents\Arduino\libraries\U8glib\src\clib\u8g_com_arduino_no_en_parallel.c:87:20: error: assignment to 'volatile uint8_t *' {aka 'volatile unsigned char *'} from incompatible pointer type 'volatile uint32_t *' {aka 'volatile long unsigned int *'} [-Wincompatible-pointer-types]
87 | u8g_data_port[0] = portOutputRegister(digitalPinToPort(u8g->pin_list[U8G_PI_D0]));
| ^
c:\Users\Asus\Documents\Arduino\libraries\U8glib\src\clib\u8g_com_arduino_no_en_parallel.c:89:20: error: assignment to 'volatile uint8_t *' {aka 'volatile unsigned char *'} from incompatible pointer type 'volatile uint32_t *' {aka 'volatile long unsigned int *'} [-Wincompatible-pointer-types]
89 | u8g_data_port[1] = portOutputRegister(digitalPinToPort(u8g->pin_list[U8G_PI_D1]));
| ^
c:\Users\Asus\Documents\Arduino\libraries\U8glib\src\clib\u8g_com_arduino_no_en_parallel.c:91:20: error: assignment to 'volatile uint8_t *' {aka 'volatile unsigned char *'} from incompatible pointer type 'volatile uint32_t *' {aka 'volatile long unsigned int *'} [-Wincompatible-pointer-types]
91 | u8g_data_port[2] = portOutputRegister(digitalPinToPort(u8g->pin_list[U8G_PI_D2]));
| ^
c:\Users\Asus\Documents\Arduino\libraries\U8glib\src\clib\u8g_com_arduino_no_en_parallel.c:93:20: error: assignment to 'volatile uint8_t *' {aka 'volatile unsigned char *'} from incompatible pointer type 'volatile uint32_t *' {aka 'volatile long unsigned int *'} [-Wincompatible-pointer-types]
93 | u8g_data_port[3] = portOutputRegister(digitalPinToPort(u8g->pin_list[U8G_PI_D3]));
| ^
c:\Users\Asus\Documents\Arduino\libraries\U8glib\src\clib\u8g_com_arduino_no_en_parallel.c:96:20: error: assignment to 'volatile uint8_t *' {aka 'volatile unsigned char *'} from incompatible pointer type 'volatile uint32_t *' {aka 'volatile long unsigned int *'} [-Wincompatible-pointer-types]
96 | u8g_data_port[4] = portOutputRegister(digitalPinToPort(u8g->pin_list[U8G_PI_D4]));
| ^
c:\Users\Asus\Documents\Arduino\libraries\U8glib\src\clib\u8g_com_arduino_no_en_parallel.c:98:20: error: assignment to 'volatile uint8_t *' {aka 'volatile unsigned char *'} from incompatible pointer type 'volatile uint32_t *' {aka 'volatile long unsigned int *'} [-Wincompatible-pointer-types]
98 | u8g_data_port[5] = portOutputRegister(digitalPinToPort(u8g->pin_list[U8G_PI_D5]));
| ^
c:\Users\Asus\Documents\Arduino\libraries\U8glib\src\clib\u8g_com_arduino_no_en_parallel.c:100:20: error: assignment to 'volatile uint8_t *' {aka 'volatile unsigned char *'} from incompatible pointer type 'volatile uint32_t *' {aka 'volatile long unsigned int *'} [-Wincompatible-pointer-types]
100 | u8g_data_port[6] = portOutputRegister(digitalPinToPort(u8g->pin_list[U8G_PI_D6]));
| ^
c:\Users\Asus\Documents\Arduino\libraries\U8glib\src\clib\u8g_com_arduino_no_en_parallel.c:102:20: error: assignment to 'volatile uint8_t *' {aka 'volatile unsigned char *'} from incompatible pointer type 'volatile uint32_t *' {aka 'volatile long unsigned int *'} [-Wincompatible-pointer-types]
102 | u8g_data_port[7] = portOutputRegister(digitalPinToPort(u8g->pin_list[U8G_PI_D7]));
| ^
exit status 1
Compilation error: exit status 1
