Electronic Components Datasheet Search
  English  ▼

X  

DFR0654 Datasheet(PDF) 85 Page - DFROBOT

Part # DFR0654
Description  Compatible with DFRobot FireBeetle V2 Series
PDF  122 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  DFROBOT [DFROBOT]
Direct Link  https://www.dfrobot.com/
Logo DFROBOT - DFROBOT

DFR0654 Datasheet(HTML) 85 Page - DFROBOT

Back Button DFR0654 Datasheet HTML 81Page - DFROBOT DFR0654 Datasheet HTML 82Page - DFROBOT DFR0654 Datasheet HTML 83Page - DFROBOT DFR0654 Datasheet HTML 84Page - DFROBOT DFR0654 Datasheet HTML 85Page - DFROBOT DFR0654 Datasheet HTML 86Page - DFROBOT DFR0654 Datasheet HTML 87Page - DFROBOT DFR0654 Datasheet HTML 88Page - DFROBOT DFR0654 Datasheet HTML 89Page - DFROBOT Next Button
Zoom Inzoom in Zoom Outzoom out
 85 / 122 page
background image
2023/10/12 11:00
FireBeetle_Board_ESP32_E_SKU_DFR0654-DFRobot
https://wiki.dfrobot.com/FireBeetle_Board_ESP32_E_SKU_DFR0654
85/122
#include <WiFi.h>
const char* ssid="WIFI_SSID";
//Fill in the WIFI name
const char* password="WIFI_PASSWORD";
//Fill in the WIFI password
const char* ntpServer = "pool.ntp.org";
//Get the time from the network time server
const long gmtOffset_sec = 28800;
//UTC time is used here, China is in the UTC+8 time zone, which is 8*60*60
const int daylightOffset_sec = 0;
//Use daylight saving time daylightOffset_sec = 3600, otherwise it is equal to 0
void printLocalTime(){
struct tm timeinfo;
if(!getLocalTime(&timeinfo)){
//If the local time is obtained, put it into the timeinfo structure
Serial.println("Failed to obtian time");
return ;
}
Serial.println(&timeinfo,"%A, %B %d %Y %H:%M:%S");
//Output the obtained time in this format
}
void setup() {
Serial.begin(115200);
Serial.printf("Connecting to %s",ssid);
WiFi.begin(ssid,password);
//Connect to WIFI
while(WiFi.status()!=WL_CONNECTED){
//Wait for the connection to be successful
delay(500);
Serial.print(".");
}
Serial.println(" CONNECTED");
configTime(gmtOffset_sec, daylightOffset_sec, ntpServer); /Configure network time as the system time of the ESP32-E mainb
}
void loop()
{



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 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
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