Failed to connect to ESP32: No serial data received

hello I have problem when uploading the code it says "Failed to connect to ESP32: No serial data received.
For troubleshooting steps visit: Troubleshooting - ESP32 - — esptool.py latest documentation
the selected serial port For troubleshooting steps visit: Troubleshooting - ESP32 - — esptool.py latest documentation
does not exist or your board is not connected"

I'm using ESP32 for WiFi connection to influxdb and grafana

here's the code

#include <WiFi.h>
#include <InfluxDbClient.h>

const char* ssid = "LOL";
const char* password = "19282828";

#define RXD2 16
#define TXD2 17
String bacanilai;
// E.g. http://192.168.100.4:8086 alamat ip laptop(In InfluxDB 2 UI -> Load Data -> Client Libraries),
#define INFLUXDB_URL "http://172.20.10.3:8086"
// InfluxDB 2 server or cloud API authentication token (Use: InfluxDB UI -> Load Data -> Tokens ->

Your topic was MOVED to its current forum category which is more appropriate than the original

Please follow the advice given in the link below when posting code, in particular the section entitled 'Posting code and common code problems'

Use code tags (the </> icon above the compose window) to make it easier to read and copy for examination

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.