Giter VIP home page Giter VIP logo

firmware's People

Contributors

stfnmllr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

maxlock willaov

firmware's Issues

Controller enable gpio output.

Hi, it would be very useful to control a gpio pin and not just the LED output when the controller is enabled. This will make it very simple for the pico-cs to be used with many H-bridge modules with an enable input as the booster. Without this some DCC locos when attached to DC power (no dcc signal) assume they're in DC mode and start to accelerate.
Again, this is great work! Thanks, Max.

Feature, generate a push message if an input gpio changes state.

Again, great work so far! The last feature which would make pico-cs able to completely run a small layout is to have a push message (as per the protocol document) generated when a GPIO configured as an input changes state. This would allow control software to react to things like a block occupancy or position sensor without having to continually poll and potentially miss events.

Does not reconnect to wifi if disconnected.

Hi, glad to see the latest 0.8.0 release and improvements. I've noticed that if using the firmware without the mqtt gateway that due to a lack of traffic many wireless APs will disconnect the client. I had a look at the source and in loop_pico_w it doesn't appear to check if it's been disconnected, and reconnect. I tried adding the following to the loop

    if (cyw43_wifi_link_status(&cyw43_state, CYW43_ITF_STA) != CYW43_LINK_UP) {
        cyw43_arch_wifi_connect_timeout_ms(WIFI_SSID, WIFI_PASSWORD, CYW43_AUTH_WPA2_AES_PSK, 30000);
    }

But I'm no C coder and it doesn't appear to work either :D

Thanks for your efforts so far, this is a great solution for small layouts.

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.