zephyr/boards/shields/ssd1306/ssd1306_128x32.overlay

31 lines
494 B
Plaintext
Raw Normal View History

/*
* Copyright (c) 2019 PHYTEC Messtechnik GmbH
*
* SPDX-License-Identifier: Apache-2.0
*/
/ {
chosen {
zephyr,display = &ssd1306_ssd1306_128x32;
};
};
&arduino_i2c {
status = "okay";
ssd1306_ssd1306_128x32: ssd1306@3c {
compatible = "solomon,ssd1306fb";
reg = <0x3c>;
width = <128>;
height = <32>;
segment-offset = <0>;
page-offset = <0>;
display-offset = <0>;
multiplex-ratio = <31>;
segment-remap;
com-invdir;
com-sequential;
prechargep = <0x22>;
};
};