Skip to content

chilledoj/ssd1305

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SSD1305 Driver

An adaption of the SSD1306 driver.

This driver is for screens using the SSD1305 chip (like the 2.23" OLED screen by Waveshare).

N.B. SPI only

Example usage

oled := ssd1305.NewSPI(machine.SPI1, dcPin, resetPin, csPin)
oled.Configure(ssd1305.Config{
Width:    128,
Height:   32,
})

oled.ClearDisplay()
tinydraw.FilledRectangle(&oled, 100, 24, 28, 8, ssd1305.BLACK)
oled.Display()

About

SSD1305 Driver for TinyGO

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages