Git Product home page Git Product logo

oled_ssd1306's Introduction

oled_ssd1306

这个驱动程序在STM32f103C8T6核心板完美运行。核心频率为72MHz。在使用驱动程序 时,必须保证在你的项目里使用STM32F1xx系列的HAL库。如需移植,只需修改底层文件关于SPI部分,在保证硬件SPI可用的情况下,实现两个底层函数即可。

  1. void SPIWrite(uint8_t chr);

    发送一个字符。

  2. void SPIWriteBuffer(uint8_t* buffer, uint16_t Size);

    发送可知长度的字符串。

如果硬件SPI不可用,请参考SPI时序,实现软件模拟SPI。

关于字模,图片取模方式:

  1. 字模:纵向取点,上边为高位,下边为低位,按列从左到右排序,列内排序:上在下前
  2. 图片取点:水平扫描,从左往右,从上往下,字节排序:左边为高位。

此版本驱动,移植了Adafruit_SSD1306库和Adafruit-GFX-Library。

Adafruit_SSD1306

Adafruit-GFX-Library

oled_ssd1306's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.