(function(){
let w = window.innerWidth;
function setHeaderCssVar() {
const headerEle = document.getElementById('shoplaza-section-header');
if(!headerEle){ return };
document.body.style.setProperty('--window-height', `${window.innerHeight}px`);
document.body.style.setProperty('--header-height', `${headerEle.clientHeight}px`);
const mdScorllHideEle = headerEle.querySelector('.header__mobile .header__scroll_hide');
if (mdScorllHideEle) {
document.body.style.setProperty('--header-scroll-hide-height-md', `${mdScorllHideEle.clientHeight}px`);
}
const pcScorllHideEle = headerEle.querySelector('.header__desktop .header__scroll_hide');
if (pcScorllHideEle) {
document.body.style.setProperty('--header-scroll-hide-height-pc', `${pcScorllHideEle.clientHeight}px`);
}
}
function handlResize() {
if(w == window.innerWidth){return};
w = window.innerWidth;
setHeaderCssVar();
};
function init(){
setHeaderCssVar();
window.removeEventListener('resize', window._theme_header_listener)
window._theme_header_listener = handlResize;
window.addEventListener('resize', window._theme_header_listener);
}
init();
})();
${data.index + 1}/6
Description
Nanohat OLED 0.96 Inch 40*40mm Python Programming Driver Open Source Mono OLED I2C Display Support NanoPi NEO NEO2 Air
Product Description
* NanoHat OLED is a small and cute monochrome OLED module with low power consumption. It is 0.96". Its resolution is 128 x 64. It communicates with a master device with I2C. * The NanoHat OLED module has the same form factor as FriendlyElec's NanoPi NEO. It can be stacked on a NanoPi NEO. * It has three onboard programmable user buttons。 * It has an onboard 3.5mm Aduio jack connector and a USB Type A connector.
Hardware Spec
* LCD Size:0.96" * Resolution: 128 x 64 * High Contrast, Low Power Consumption * 3 x Onboard Button * PCB Dimension(mm): 40 x 40
Specification
Pin#
Name
Linux gpio
Pin#
Name
Linux gpio
1
SYS_3.3V
2
VDD_5V
3
I2C0_SDA
4
VDD_5V
5
I2C0_SCL
6
GND
7
NC
8
NC
9
GND
10
NC
11
K1
0
12
NC
13
K2
2
14
GND
15
K3
3
16
NC
17
SYS_3.3V
18
NC
19
NC
20
GND
21
NC
22
NC
23
NC
24
NC
Only GND and 5V on the 12-Pin land are connected and the rest pins are open. For more details on the 12-Pin connector refer to NanoPi NEO/Air/NEO2's wiki site.