3 ms·
This is very useful to see examples of how people have used APIs that are either poorly documented or not at all. Or even that are well documented, really. Goin
by thamer 4y ago
This is very useful to see examples of how people have used APIs that are either poorly documented or not at all. Or even that are well documented, really. Going from docs to code is not always straightforward.
To give you just one example, recently I've been using it to find how people have written code to interface with e-ink displays. I usually have the datasheet which lists all the commands the protocol support, but building it all into a valid startup sequence of ~20 commands to activate the display is left as an exercise for the reader.
So the docs will look like this: https://www.waveshare.com/w/upload/6/6a/4.2inch-e-paper-specification.pdf https://www.waveshare.com/w/upload/6/6a/4.2inch-e-paper-spec...
And what I need is a sequence like this: https://github.com/joeycastillo/The-Open-Book/blob/5c5054c58e77e1986b469545d739a40bca08a805/src/OpenBook_IL91874.cpp#L292-L383 https://github.com/joeycastillo/The-Open-Book/blob/5c5054c58...