Git Product home page Git Product logo

Comments (4)

benblazak avatar benblazak commented on July 21, 2024 1

not sure if i should have spent so long working on this today lol, but i got it!

two ways to fix

first way

it's this for loop that's keeping the function from returning.

of course if you're using macros (i can't remember if i ever got them to work) this isn't the solution you want lol.

second way

#include <EEPROM.h>

void setup() {
  // initialize the LED pin as an output.
  pinMode(11, OUTPUT);

  for (int i = 0 ; i < EEPROM.length() ; i++) {
    EEPROM.write(i, 0xff);
  }

  // turn the LED on when we're done
  digitalWrite(11, HIGH);
}

void loop() {
  /** Empty loop. **/
}

for whatever reason, initializing all eeprom bytes to 0x00 doesn't seem to work. definitely a bug, but not one i'm going to try and fix right now (lots to do).

thanks for catching this.

from ergodox-firmware.

benblazak avatar benblazak commented on July 21, 2024

bug confirmed on one of my boards. this is really weird.

from ergodox-firmware.

Thanatermesis avatar Thanatermesis commented on July 21, 2024

it is, the only difference the keyboard is meant to have is an entirely different, rewrited contents, isnt? im not expert on it but i cannot get how this bug happens, the hardware is the same of course

from ergodox-firmware.

benblazak avatar benblazak commented on July 21, 2024

i don't understand it yet either -- and i may not have time to figure it out, but i've been looking at it a bit today.

if you unplug the TRRS jack, and then unplug -> replug the USB, it will work, though it blinks an error (i'm still trying to remember what that means lol, it's been a while). if you then plug in the TRRS cable (quickly, maybe not too quickly) both sides will work.

not really a workaround, but interesting.

from ergodox-firmware.

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.