• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

heltec

Q&A Forum › heltec
0 Vote Up Vote Down
Bill asked 2 years ago

how to format text on the onboard display

3 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 2 years ago

Hi.
Can you provide more details about your issue?
Regards,
Sara

0 Vote Up Vote Down
Bill answered 2 years ago

Worked it out
Was looking for parameters for tft -??
See my solution below
tft.setCursor(20,10,2);
// Set the font colour to be white with a black background, set text size multiplier to 1
tft.setTextColor(TFT_YELLOW,TFT_BLACK);
tft.setTextSize(1);
// We can now plot text on screen using the “print” class
//tft.println(“Hello World!”);
tft.println(“HTank-2”);
tft.setTextSize(6);
tft.println(temperatureC);

0 Vote Up Vote Down
Sara Santos Staff answered 2 years ago

Thanks for sharing.
Regards,
Sara

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025
  • [eBook Updated] Learn ESP32 with Arduino IDE eBook – Version 3.2 April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.