Skip to content

7. 72×40 OLED Display & LED Control ​

From Main 0.3.7, DISPLAY_SHOW renders either 5×8 printable ASCII lines (up to 5 lines × 12 chars) or a 360-byte column-major 72×40 monochrome bitmap Base64-encoded for CJK text, QR codes, and custom icons.

ReAI Recording Card SDK Documentation › OLED Display & LED
SDK v0.0.9 (MIT)BLE 5 NUSLED >= 0.3.0 · DISPLAY_SHOW / CLEAR >= 0.3.7

Bitmap Layout (360 Bytes) ​

5 vertical pages (8 pixels per page = 40 rows) × 72 columns; byte page * 72 + x has bit 0 at the top row of its page.

Live Web Demo ​

Disconnected
Web Bluetooth is unavailable in this browser/context (requires Chrome/Edge on HTTPS or localhost). You can still test every API using the Virtual Card Simulator.
Wire Protocol Log (BLE NUS / HTTP)
Connect a real card or Virtual Card Simulator to inspect live protocol frames.

Downloadable Example ​

HTML + Canvas + Web BLEExample 07 · 72×40 OLED Pixel Canvas & CJK Renderer

Draw pixel art or rasterize CJK/ASCII text into a 360-byte Base64 bitmap and push directly over Web Bluetooth.

07-oled-display-and-led.html

ReAI Recording Card Developer Documentation · MIT Open Hardware SDK · Partner Assets