Git Product home page Git Product logo

Comments (9)

karawin avatar karawin commented on May 24, 2024

See the Ka-Radio32\main\include\gpio.h file and change with your needs.
And yes, you need to generate KaRadio by yourself.
I try to be as generic as possible but for these special requests, the best is to create your own release.
Thanks for your interest.

from ka-radio32.

gvoigtlaender avatar gvoigtlaender commented on May 24, 2024

I'm on it, still checking which packages are missing in my gentoo

from ka-radio32.

karawin avatar karawin commented on May 24, 2024

https://esp-idf.readthedocs.io/en/latest/get-started/linux-setup.html

from ka-radio32.

gvoigtlaender avatar gvoigtlaender commented on May 24, 2024

Thx, getting closer. I was missing the xxd command (vim-package)

Now I get stuck at

~/esp/Ka-Radio32/main/./addonucg.c:11:25: fatal error: driver\gpio.h: No such file or directory

from ka-radio32.

gvoigtlaender avatar gvoigtlaender commented on May 24, 2024

Solved:

addonucg.c uses wrong backslash in include, needs to be slash ;)

Now i'll check the gpio.h

from ka-radio32.

karawin avatar karawin commented on May 24, 2024

Yes I will correct it. Msys32 is more tolerant than a real linux.

from ka-radio32.

gvoigtlaender avatar gvoigtlaender commented on May 24, 2024

addonu8g2.c:445 PIN_LCD_RST -> PIN_I2C_LCD

from ka-radio32.

karawin avatar karawin commented on May 24, 2024

u8g2_esp32_hal.reset = PIN_I2C_RST;

Thanks

from ka-radio32.

gvoigtlaender avatar gvoigtlaender commented on May 24, 2024

Hi,

patching the addonu8g2.c as above and adjusting gpio.h made the OLED working

#define PIN_I2C_SCL GPIO_NUM_15
#define PIN_I2C_SDA GPIO_NUM_4
#define PIN_I2C_RST GPIO_NUM_16

Thanks,
georg

from ka-radio32.

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.