Auxiliary Function-Displaying Customized Text on Screen

Last revision 2026/01/20

This article explains how to utilize onboard screens to display customized text, providing sample programs for Arduino, MakeCode, and Mind+ to enhance user interaction by displaying sensor data and recognition results directly on the screen.

The onboard screen can be used to display texts anywhere on itself. It supports English characters, numbers and symbols. The recognition results and data from sensors can be directly displayed on the screen.

All 7 algorithms support the customized text.

Demonstration: Displaying “Mind+” on the upper right corner at coordinates of (230,35)

  • Mind+ Sample Program:

Displaying_Customized_Text_Mindplus

  • MakeCode Sample Program:

Displaying_Customized_Text_Makecode

  • Arduino Sample Program:
#include "HUSKYLENS.h"

HUSKYLENS huskylens;

void setup() 
{
    Serial.begin(115200);
    Wire.begin();
    while (!huskylens.begin(Wire))
    {
        Serial.println(F("Begin failed!"));
        delay(100);
    }
    while (!huskylens.customText("mind+",230,35))  // bool customText(String text,uint16_t x,uint8_t y)
    {
      Serial.println(F("custom text failed!")); 
      delay(100);
    }
}

void loop() 
{

}

Result

Displaying_Customized_Text_Result

Was this article helpful?

TOP