-
ToyKeeperFor real though, the more I try other keyboards, the more I like this Model01.
-
obra<3
-
mattvenncorsiar k95 key scan rate imagebin.ca/v/3zi1JDVKRoDa
-
mattvenn250hz
-
algernonthat site is incredibly slow/unreliable from work... it still didn't load any image :/
-
PugMajereWas there an intentional change a while back that increased the iteration rate of the LED animations; in particular, LEDRainbowWaveEffectt (though I think all the ones that work like that one got faster)?
-
PugMajereI am trying to write a doc today, so I'm pondering things like that instead of working on the doc, though I did notice it a monrth or three ago. :)
-
mattvennalgernon: yeah it's not working for me either
-
algernonPugMajere: we drastically sped up the main loop, which may have affected LED animations
-
algernonPugMajere: there were a few that did not use timers, but relied on the speed of the main loop - those got faster. Rainbow may be one of these
-
PugMajereah, that's good to know.
-
algernonyeah, just looked at the code, Rainbow does animations based on the amount of loop cycles, not based on timers
-
algernonthe faster the loop, the faster the animation
-
PugMajereyeah; do you know offhand how many milis the main loop is? (approx); I can work it out experimentally, but it'd be easier to get close without guessing. :)
-
algernondepends a lot on what plugins you use, and how many things are going on with the keyboard.
-
algernonwith a recent change, the main loop is considerably faster when there are no keys pressed
-
algernonso it can even vary during runtime, and as such, should not be relied on for timing
-
algernonthere's the CycleTimeReport plugin (github.com/keyboardio/Kaleidoscope-CycleTimeReport) that can help you figure out the length of your loops
-
algernonhrm. I didn't record my timings in the PRs, only on IRC :/
-
algernon(and too lazy to search back right now)
-
algernonPugMajere: with my own sketch, cycle times are around 3.8ms when idle, 4.02 with 10 keys held. the factory firmware is probably a little faster.
-
PugMajereheh, yeah, I was just trying to get an idea of how many milis (approx) a cycle was, so I could multiply and slow it down.
5 minutes ago