Giter VIP home page Giter VIP logo

Comments (2)

Vollbrecht avatar Vollbrecht commented on July 18, 2024 1

embedded-hal and embedded_graphics are moving a lot. We in esp-idf-* support the latest embedded-hal-1.0 rc releases + 0.2.x release of embedded-hal.
While i never played with the ssd1306 around, often these problems come from version-mismatch of the e-hal versions used in the driver and esp-idf-*. and similar in the e-graphics crate.
To get a better overview check out cargo tree and look for versions of embedded-hal + embedded-graphics that are pulled in. You can grep for specific crates with cargo tree -f "{p} {f}" | grep <crate-name>
For related help you can also check out both matrix chat-rooms around rust esp-idf and especially the embedded-graphics room

This growing pains should hopefully be gone, when the hal's reach stabilization and most drivers uses this versions.

from esp-idf-hal.

ivmarkov avatar ivmarkov commented on July 18, 2024

The ssd1306 needs e-hal 0.2-compatible i2c driver, which the HAL crate does implement. You are likely using the wrong versions of display-interface or embedded-graphics-core. Please check the Cargo.toml of the ssd1306 crate as for the exact versions of these crates you have to use.

from esp-idf-hal.

Related Issues (20)

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.