David Buezas

Results 381 comments of David Buezas

I measured the clock speed generated by SoftWire with the maximum frequency: 138kHz. Removing the delayMicroseconds from the library it goes up to 205kHz. I think this is just because...

This PR + https://github.com/MarlinFirmware/U8glib-HAL/pull/31 + removing delayMicroseconds (SoftWire) + using platform specific gpio manipulation (SoftWire) gives amazing results. Maybe faster than stock HW i2c

Will this ever be considered to be merged? I have been using it since the PR was created and keep rebasing it and whatnot and it makes my own PRs...

## Before Very jumpy, often goes backwards. https://github.com/MarlinFirmware/Marlin/assets/777196/8a9c6eb7-bed3-47fa-a8d6-56f3b5528d02 ## After Direction and responsiveness are fixed. https://github.com/MarlinFirmware/Marlin/assets/777196/94f9aec5-efc6-4511-ba31-32338f52b2b2

Note: I avoided using interrupts or any type of counting to cover slower boards with less interrupt pins. The changes increase RAM usage by 14 bytes as static vars: *...

Thanks for the test @The-EG, do you have a 32 or 16 bit board? Any issues when reversing direction (i.e the ui not responding to the first step)

That's a bummer, but it means that it is not just a lost step. There must be something else going on. @XDA-Bam I have a couple questions you could help...

@XDA-Bam could you make a video where you show the phenomenon? Please also include slowly going multiple steps in the same direction too. Thank you!

I'll keep trying to reproduce this for some days. I'm starting to suspect that in that type of encoder, internal haptic dents can slide a bit with respect to the...

I committed a fix to this PR would you please give it another go @XDA-Bam ? --- > I just managed to "un-trigger" the bug again All right! this confirms...