Code Monkey home page Code Monkey logo

Comments (3)

terjeio avatar terjeio commented on September 14, 2024

I use the I2S pin also for the other signals (flood, mist ,spindle enable and spindle direction) but not work.

Did you change driver.c for that? Try DIGITAL_OUT/DIGITAL_IN instead of gpio_set_level/gpio_get_level for those pins.

Now I will try to connect this signals with I2C IOEXPAND (I order the adapter), and I would like to change the default I2C pins (GPIO 22 (SCL) and GPIO 21 (SDA)) with GPIO 4 (SCL) and GPIO 0 (SDA), it's possible?

You can try? Here is how it is configured in a board map:

// Define I2C port/pins
#define I2C_PORT                I2C_NUM_1
#define I2C_SDA                 GPIO_NUM_21
#define I2C_SCL                 GPIO_NUM_22
#define I2C_CLOCK               100000

from esp32.

ennio64 avatar ennio64 commented on September 14, 2024

mks_tinybee_1_0_map.zip
SOLVED
I change driver.c and work.
Thank's Terje Io

from esp32.

SphaeroX avatar SphaeroX commented on September 14, 2024

i got a question, not related to the ticket. how can i single control these pins for another project... makerbase-mks/MKS-TinyBee#113

from esp32.

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.