ESP8266 and HW-364A display

Hey everyone!

I’ve learned a lot from this community, so I thought I’d share something I put together.

I recently picked up a NodeMCU ESP8266 Development Board with a 0.96-inch OLED display—a totally impulsive buy since I had no idea what to do with it. :sweat_smile: After some experimenting, I managed to get it working like this:



If anyone’s interested, here’s the key part of the code:

# I2C Configuration for HW364A OLED
i2c:
  sda: GPIO14
  scl: GPIO12
  scan: true # Enable to detect I2C devices
  frequency: 400kHz

# OLED Display Configuration
display:
  - platform: ssd1306_i2c
    model: "SSD1306 128X64" # Adjust if your display has a different resolution
    address: 0x3C
    id: hw364a_display
    pages:
      - id: page1
        lambda: |-
          it.print(0, 0, id(gfont_font), "Hello, World!");

That’s it! To be honest, I’m still not sure what else I can do with this display. Any ideas? :smiley: