Giter VIP home page Giter VIP logo

Comments (5)

UNIVAC-Colonel-Panic avatar UNIVAC-Colonel-Panic commented on August 18, 2024

I have a somewhat related question: How can I easily reset the blink1 mk2 to its factory default settings?

from blink1.

todbot avatar todbot commented on August 18, 2024

I've not had a chance to move the mk2 firmware over into this repo. It's located here currently:
https://github.com/todbot/pic-usb-experiments/tree/master/blink1mk2

taa1, what factory settings are you referring to?

from blink1.

UNIVAC-Colonel-Panic avatar UNIVAC-Colonel-Panic commented on August 18, 2024

Hi Tod,

Sorry if I wasn't clear. I'm still new to these devices and I'm not sure if I'm even asking the right thing. I think the answer to your question is, "all of them" but I'll put it another way....

It's my understanding from the docs and from the example shell scripts I've looked at that there are some settings that appear to get stored on the device itself and that they stay that way until overridden. As an example, I know that it's possible to program the device using blink1-tool with a pattern such that it will then be the (new) default pattern that's played when the device is plugged into charge-only USB ports.

In looking at blink1-pattern-fill.sh, there are -g, -m and --setpattline args on each line, which implies to me that the -g and -m args get saved when --setpattline is "executed", and that each --setpattline can have associated with it different -g and -m values (and maybe --led? --delay?).

To start with, suppose I wanted to reset a blink(1) to the as-shipped charge-only USB pattern. How would I do it?

from blink1.

Kroden avatar Kroden commented on August 18, 2024

That firmware link leads to a 'not found' page. I don't see that repo anywhere either. Will it be moved to this repo soon?

from blink1.

todbot avatar todbot commented on August 18, 2024

Apologies, I forgot that was a private repo since it contains some code I can't share.
The blink1mk2 firmware has been moved into the main blink1 repo here:
https://github.com/todbot/blink1/tree/master/hardware/firmware_mk2
Unfortunately, I couldn't figure out how to import the history.

taa1, please open a separate issue about the pattern stuff.

from blink1.

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.