I watched this tutorial to figure out how to upload my sketch to the esp 01. I don’t have the usb device so I am using my arduino uno as a replacement to upload sketches to esp01.
It work the first time but couple last day when i try to use this method to for upload to the blynk cloud but it not working so i try back with arduino and now it keep showing this error. I’ve checked every detail like wired and code but it still can not upload the code.
Error file
cloud_upload_error.txt (3.5 KB)
My wired:
Code:
#include "thingProperties.h"
const int relayPin = 0;
void setup() {
// Initialize serial and wait for port to open:
Serial.begin(9600);
// This delay gives the chance to wait for a Serial Monitor without blocking if none is found
delay(1500);
pinMode(relayPin,OUTPUT);
// Defined in thingProperties.h
initProperties();
// Connect to Arduino IoT Cloud
ArduinoCloud.begin(ArduinoIoTPreferredConnection);
setDebugMessageLevel(2);
ArduinoCloud.printDebugInfo();
}
void loop() {
ArduinoCloud.update();
// Your code here
}
void onRelaySwitchChange() {
// Add your code here to act upon RelaySwitch change
if(relaySwitch){
digitalWrite(relayPin,HIGH);
}else{
digitalWrite(relayPin,LOW);
}
}
Thanks you much for your support.

