GithubHelp home page GithubHelp logo

LEDs on CANable about candlelight_fw HOT 4 CLOSED

candle-usb avatar candle-usb commented on July 17, 2024
LEDs on CANable

from candlelight_fw.

Comments (4)

fenugrec avatar fenugrec commented on July 17, 2024

Hi,
did you see PR #37 ? I'm also not a huge fan of the current behaviour but it does have some logic to it.

single blink on power-up

Ok, didn't need that with my hardware (has a dedicated power LED) but I can imagine no argument against this. It could probably go somewhere in main.c near the call to led_set_mode( ) ? (common to all boards)

interface down/up

heh, we now have 3 different ideas on what the LEDs should show ! Personally I prefer tx vs rx activity, Hubert wanted it to behave like an ethernet jack, and you have even something else in mind. I'm not sure how to reconcile all this without spiraling in an #ifdef mess... maybe something like I described in that PR , with an added "heartbeat" blink when power is on but interface is down ?

from candlelight_fw.

normaldotcom avatar normaldotcom commented on July 17, 2024

Didn't see that pull request, glad someone has been thinking about it! I think I can make a clean PR adding blinking of LEDs on powerup, and then just change the polarity of the green LED in the CANable-specific section of config.h. Should avoid a big #ifdef mess, definitely don't want to make things messy.

from candlelight_fw.

fenugrec avatar fenugrec commented on July 17, 2024

As you probably saw I merged your LED PR. If behaviour is OK on your board types now I'll close this. Thanks !

from candlelight_fw.

fenugrec avatar fenugrec commented on July 17, 2024

Feel free to reopen if any further issues.

from candlelight_fw.

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.