kalibre

textosIno

Mar 23rd, 2024
910
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Arduino 0.66 KB | Software | 0 0
  1.  
  2. void setup() {
  3.   // put your setup code here, to run once:
  4.  Serial.begin(9600);//bauds
  5.   textos_L(STR);
  6.  
  7. }
  8. void textos_L(String STR){
  9.  tft.setCursor(0,3); //inicia o cursor em Width e heigth
  10.  tft.initR(INITR_BLACKTAB); //backgraud preto
  11.  tft.setTextSize(1); // tamanho font aligment
  12.  tft.fillScreen(ST7735_BLACK); // filscren
  13.  tft.setTextColor(ST7735_RED); //  cor font
  14.  tft.print("Bem10jfx.blogspot.com"); // texto font
  15.  
  16.    tft.setCursor(5,13);
  17.    tft.setTextColor(ST7735_WHITE);
  18.    tft.setTextSize(5);
  19.     tft.print("JAVAFX");
  20.      tft.setCursor(0,100);//w h
  21.  
  22.  tft.setTextColor(ST7735_GREEN);
  23.    tft.setTextSize(3);
  24.     tft.print("ARDUINO");
  25.  
Tags: Java tft
Advertisement
Add Comment
Please, Sign In to add comment