I try to do everything as in the guide (second advanced option) devzone.nordicsemi.com/.../small-i2c-oled-displays-using-nrf-connect-sdk but I get errors when building
but here my ssd1306_128x64.overlay
/ { chosen { zephyr,display = &ssd1306_ssd1306_128x64; }; }; &arduino_i2c { status = "okay"; ssd1306_ssd1306_128x64: ssd1306@3c { compatible = "solomon,ssd1306fb"; reg = <0x3c>; width = <128>; height = <64>; segment-offset = <0>; page-offset = <0>; display-offset = <0>; multiplex-ratio = <63>; segment-remap; com-invdir; prechargep = <0x22>; }; };
also overlay for my board
&pinctrl { i2c0_default: i2c0_default { group1 { psels = <NRF_PSEL(TWIM_SDA, 0, 22)>, <NRF_PSEL(TWIM_SCL, 0, 23)>; }; }; i2c0_sleep: i2c0_sleep { group1 { psels = <NRF_PSEL(TWIM_SDA, 0, 22)>, <NRF_PSEL(TWIM_SCL, 0, 23)>; low-power-enable; }; }; }; arduino_i2c: &i2c0 { compatible = "nordic,nrf-twi"; status = "okay"; clock-frequency = <I2C_BITRATE_FAST>; ssd1306: ssd1306@3c { compatible = "solomon,ssd1306fb"; reg = <0x3c>; //0x3c is the i2c address of the display controller IC, SSD1306. width = <128>; // Width of the display. height = <64>; // Height of the display. Change to '64' when using the 128x64 pixel version. segment-offset = <0>; page-offset = <0>; display-offset = <0>; multiplex-ratio = <63>; //change to '63' when using the 128x64 pixel version segment-remap; com-invdir; com-sequential; prechargep = <0x22>; // add more driver settings here }; };
I work with a custom board with nRF52832 chip and with NCS 2.8.0. Help me please