[ad_1]
The SSD1306 OLED show is extraordinarily helpful in Arduino-style initiatives, for displaying a restricted quantity of textual content and graphics on its 128×64 pixel display. Normally these graphics are a sequence of characters, or maybe the odd line or two, however Görg Pflug’s AttinyStreamGfxApi library permits it to take action way more that you just may need to reevaluate its capabilities. It isn’t solely extraordinarily succesful graphics-wise, however within the video beneath it does all of this on an ATtiny85 over I2C.
Highlights embrace a simulated interactive oscilloscope at across the 1:30 mark, full with textual content, a cursor, grid, and dynamically altering line parts; numerous fading and static impact that usually make the most of separate graphics layers; and probably my favourite comes at 3:45, the place a graphical aircraft is manipulated as a three-dimensional wave–plus a textual content layer for good measure. There’s additionally a Raycasting engine proven at 6:00, much like what was used within the unique Wolfenstein 3D. Possibly a model of Doom is on this library’s future?
Code and examples can be found on Pflug’s GitHub web page, and the repository has a port for Arduino through the Wire library as effectively, opening up every kind of {hardware} prospects. Might or not it’s time for a facelift of an current UI or two that might use a bit of pleasure?
[ad_2]
