Zakładka z wyszukiwarką danych komponentów
  Polish  ▼
ALLDATASHEET.PL

X  

DFR0868 Arkusz danych(PDF) 63 Page - DFROBOT

Numer części DFR0868
Szczegółowy opis  Beetle-ESP32-C3 RISC-V Core Development Board Wiki
PDF  89 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Producent  DFROBOT [DFROBOT]
Strona internetowa  https://www.dfrobot.com/
Logo DFROBOT - DFROBOT

DFR0868 Arkusz danych(HTML) 63 Page - DFROBOT

Back Button DFR0868 Datasheet HTML 59Page - DFROBOT DFR0868 Datasheet HTML 60Page - DFROBOT DFR0868 Datasheet HTML 61Page - DFROBOT DFR0868 Datasheet HTML 62Page - DFROBOT DFR0868 Datasheet HTML 63Page - DFROBOT DFR0868 Datasheet HTML 64Page - DFROBOT DFR0868 Datasheet HTML 65Page - DFROBOT DFR0868 Datasheet HTML 66Page - DFROBOT DFR0868 Datasheet HTML 67Page - DFROBOT Next Button
Zoom Inzoom in Zoom Outzoom out
 63 / 89 page
background image
2023/10/12 11:20
Beetle-ESP32-C3 RISC-V Core Development Board Wiki - DFRobot
https://wiki.dfrobot.com/SKU_DFR0868_Beetle_ESP32_C3
63/89
Serial.begin(115200);
u8g2.begin();
u8g2.setFontPosTop();//When using drawStr to display strings, the default standard is the coordinates at the lower left c
//Initialize the sensor
while (sht3x.begin() != 0) {
Serial.println("Failed to Initialize the chip, please confirm the wire connection");
delay(1000);
}
Serial.print("Chip serial number");
Serial.println(sht3x.readSerialNumber());
if(!sht3x.softReset()){
Serial.println("Failed to Initialize the chip....");
}
}
void loop() {
//Clean the screen
u8g2.clearBuffer();
//Use temperature and humidity read assignments for display
float
temp = sht3x.getTemperatureC();
float
humi = sht3x.getHumidityRH();
//Display temperature
u8g2.setFont(u8g2_font_osb18_tf);
// Choose font and size (see official)
u8g2.drawStr(5,10,"Temp");//Write the character at the specified position
u8g2.setFont(u8g2_font_t0_18b_tr);
u8g2.setCursor(75, 15);//Display starts from this position
u8g2.print(temp);
//Display humidity
u8g2.setFont(u8g2_font_osb18_tf);
u8g2.drawStr(5,40,"Humi");
u8g2.setFont(u8g2_font_t0_18b_tr);
u8g2.setCursor(75, 45);
u8g2.print(humi);
u8g2.sendBuffer();
delay(1000);
}



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89


Arkusz danych Pobierz

Go To PDF Page


Link URL



Czy Alldatasheet okazała się pomocna?  [ DONATE ] 

O Alldatasheet   |   Reklama   |   Kontakt   |   Polityka prywatności   |   Link do karty katalogowej    |   Linki   |   Lista producentów
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com