Peter Munch-Ellingsen

Results 251 comments of Peter Munch-Ellingsen

Haha, I had actually left in some unnecessary LED blinking and my debug delays (to be able to see the individual blocks of the i2c communications). Removing those and the...

I haven't really done any kinds of optimisations like that as of yet. Badger in it's current state is pretty bare-bones, almost more like a library than a fully completed...

Haha, to measure that I just had to put my hand in a drawer next to me and replug a USB, not the most time-consuming task. I probably should make...

Okay, so after cutting a cable in half and replacing the fuse in my multimeter with a hex-bit (whoops, that fuse has apparently been blown for a while) I was...

Do you have a link explaining the inverted state thing? The mouse I'm using uses 40mA while moving and 20mA while standing still, but I can't really measure my keyboard...

Why would I use the ESP32? AFAIK it doesn't support Bluetooth HID so I can't use it to make the keyboard Bluetooth capable. And I'm not entirely sure what I'd...

Hmm interesting, I've got a couple of ESP32s lying around so I could definitely give it a go. I've run Nim on the ESP8266 before, so it shouldn't be that...

There are a couple issues here. First `s.write(a)` will write `a` with the wrong byte order from what you seem to expect. If you create a parser that has `32:...

The example in the README is for libraries that have to be compiled into your project. You appear to link existing objects to your binary so the entire static section...

Nah, it's just the Nim compiler not allowing the parser to parse such a large JSON object, it believes it has reached an infinite loop. Just increase the max iteration...