4 ms·
This article doesn't even get into the awesomeness of `cargo build` and `rtt-target` or `probe-rs`! I use these things in my Riskeyboard 70 hall effect keyboar
by riskable 5y ago
This article doesn't even get into the awesomeness of `cargo build` and `rtt-target` or `probe-rs`! I use these things in my Riskeyboard 70 hall effect keyboard firmware to provide a full-screen debugging interface that gives me real-time output of basically everything that's going on in the keyboard.
It has "channels" and each channel gets its own tab in the built-in interface. It's so sweet! Check it out (I'm typing F1 through F7 to go through all the channels):
https://gfycat.com/lonelyspanishasiandamselfly https://gfycat.com/lonelyspanishasiandamselfly
To get to that interface I just ran `cargo build --release` and it comes up automatically :D
The values output in the various "AM<num>" tabs are the readings from the hall effect sensors (in millivolts). So I can see that I had a lot of work to do on voltage wobble, haha. We'll see how well I did in fixing it with the next revision of the PCB (which I can't order because everywhere is out of stock of the hall effect sensors I need! SOT-23 "49e" sensors if you're curious which sensor).
- childintime 5y agoThough not yet clear to me how to do this, apparently those tabs (as in your case, with the wobbling millivolts) can be mapped to graphical output, like a scope view. That would be a true step up for embedded debugging. Awesome. In this chat they map (what I presume to be) a channel to colors: https://youtu.be/BZqt187RWTw?t=506 https://youtu.be/BZqt187RWTw?t=506. Haven't had the time to look at it in detail yet.