Giter Club home page Giter Club logo

Comments (3)

OttoWinter avatar OttoWinter commented on July 20, 2024

You're trying to create an LEDC output component (App.make_ledc_output), but those are only available on the ESP32 (http://esp-idf.readthedocs.io/en/latest/api-reference/peripherals/ledc.html).

LEDC is basically a hardware PWM generator, or a peripheral that can generate high frequency modulated signals right from the chip. Sadly the ESP8266 doesn't have any of those. For the ESP8266 there's currently only the PCA9685 chip (and software PWM, but that's not really suitable for RGB lights as it flickers a lot).

Edit: Support for ESP8266 software PWM has now been added in #27. Your code can now look like this:

App.make_monochromatic_light("Displate 1", App.make_esp8266_pwm_output(13));

from esphome-core.

geelenbert avatar geelenbert commented on July 20, 2024

Well that would explain a lot ....

But i'm switching from Easy ESP, where I used Software PWM. The hardware is fixed using the ESP outputs so i can't change to a hardware pwm chip anymore.

I will have a swing at the software pwm

from esphome-core.

OttoWinter avatar OttoWinter commented on July 20, 2024

Ok, software PWM now works on the ESP8266 (via #27) 🎉 I'm hoping I can release v1.2 with that today or tomorrow.

from esphome-core.

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.