Giter Site home page Giter Site logo

Compiling for attiny85 about oled_turbo HOT 4 CLOSED

bctstkla avatar bctstkla commented on August 22, 2024
Compiling for attiny85

from oled_turbo.

Comments (4)

bitbank2 avatar bitbank2 commented on August 22, 2024

Over time I worked my way out of the ATtiny85 and towards the ATmega328, so it makes sense that it doesn't work any more :(
Sorry, but I'm working only on "big memory" MCUs lately.

from oled_turbo.

bctstkla avatar bctstkla commented on August 22, 2024

Hi @bitbank2, thanks for your reply. Unfortunately even the oldest commit from May 2018 has the same issue with defines.
Would you by chance have the -85 version left somewhere, from the time of blog post https://bitbanksoftware.blogspot.com/2018/05/fast-ssd1306-oled-drawing-with-i2c-bit.html ?

from oled_turbo.

bitbank2 avatar bitbank2 commented on August 22, 2024

If you look at the history of the code and it still doesn't build for ATtiny85, that sounds like your build environment is the problem. I used the DigiSpark board with their bootloader.

from oled_turbo.

bctstkla avatar bctstkla commented on August 22, 2024

Hi, thanks, but I think that's unlikely, since the first commit in this repository already has the defines
#define I2CPORT PORTD
#define I2CDDR DDRD

Neither of which compile for attiny (tried several boards, with and without bootloader - I usually don't use one).

If I've understood correctly, attiny85 only has PORTB, which would support the hypothesis that the code - even in the first commit in the repo - is already non-attiny-compatible.

from oled_turbo.

Related Issues (4)

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.