Skip to main content

Arduino Library

The Inkplate Arduino library drives the panel, the RTC, the microSD card, the GPIO expander and the battery measurement on Inkplate 7SPECTRA. Every page below is one example from the library's Inkplate7SPECTRA folder, with the functions it uses.

RepositorySolderedElectronics/Inkplate-Arduino-library
Model folderexamples/Inkplate7SPECTRA

🔗Open the pinned Arduino library

Public source for these pages

→

Haven't installed the library yet? Follow Quick Start first.

Feature pages​

BasicHello worldPrint your first text on the screen.BasicSix colorsFill the screen with all six panel colors.BasicDrawing graphicsShapes, text and a bitmap logo in color.BasicImage ConverterShow a picture compiled into the sketch.StoragemicroSD card imagesShow JPEG pictures from a microSD card.RTCRTC alarmSet the clock and an alarm, show the time.Low powerDeep sleep and wake-upSleep, then wake on the button or a timer.PowerBattery voltageRead and show the battery voltage.IOGPIO expanderBlink an LED on an expander pin.Wi-FiWi-Fi HTTP requestScan, connect and show a web page.BluetoothBluetooth peripheral modeDraw on the screen from a phone over Bluetooth LE.BluetoothBluetooth serialExchange text between a phone and the Serial Monitor.QwiicQwiic BME680 sensorShow temperature, humidity and pressure from a Qwiic sensor.Low powerRTC alarm with deep sleepWake from deep sleep every minute with the RTC alarm.DisplayDither kernelsCompare the dithering kernels on one picture.StorageEEPROM usageClear, write and read back EEPROM.StoragePNG from a bufferDraw a PNG held in RAM.DisplayText boxWrapped text in a box, with a custom font.RTCRTC alarm interruptSignal an RTC alarm on the interrupt pin.RTCRTC clockSet the clock and show the time once a minute.RTCRTC timerRun a 30-second countdown timer.StoragemicroSD read textShow a text file from the card.StoragemicroSD write textWrite a text file to the card.Wi-FiTRMNL BYOS clientShow images from a TRMNL-compatible server.Wi-FiHTTPS POST requestSend a JSON POST request over HTTPS.Wi-FiHTTPS with a certificateDownload a picture over HTTPS with a certificate.Wi-FiHTTP POST to ThingSpeakSend a value to a ThingSpeak channel every 20 seconds.Wi-FiWeb serverType text on a web page and show it on the screen.Wi-FiJPG with HTTPClientDownload a JPG into memory and draw it.Wi-FiPictures from the webDraw two bitmaps and a JPG from web addresses.StoragemicroSD galleryShow a random picture from the card, then sleep.Wi-FiMapbox mapDraw a Mapbox static map and refresh it every 5 minutes.SerialPeripheral mode (UART)Draw with text commands sent over the serial port.DisplayFull updates onlyHow screen updates work on this panel.