Go Down

Topic: espcomm_upload_mem failed (Read 2238 times) previous topic - next topic

gourish

Quote
let the webserver in esp and send the text to Atmega sketch over Serial.
so first i need to upload the code of webserver on to the esp by toggling 5,6,7 on

then i need to switch 1,2 ON and rest all off to code the  atmega.

how will i get message that the client will send from the webpage?

how to get the message from serial monitor of the esp8266 into atmega??

Juraj

#16
Feb 10, 2018, 05:56 am Last Edit: Feb 10, 2018, 06:07 am by Juraj
I just read your Blynk post.

so first i need to upload the code of webserver on to the esp by toggling 5,6,7 on
yes

then i need to switch 1,2 ON and rest all off to code the  atmega.
no, first you upload your Atmega sketch which handles the LCD. With switches 2,3,4 ON. For the test you switch set 1,2 ON

how will i get message that the client will send from the webpage?
you write it to Serial in esp8266 and read it from Serial in Atmega sketch

how to get the message from serial monitor of the esp8266 into atmega??
yes, that the inconvenience and I give you the solution in the stackoverflow answer
You can't write an Arduino sketch if you didn't learn programming. Not the language, but the concepts of programming - algorithms and data types.

gourish

Quote
no, first you upload your Atmega sketch which handles the LCD. With switches 2,3 ON. For the test you switch set 1,2 ON
oh sorry
i uploaded the sketch for display in atmega by toggling 3 and 4 ON actually.
right?

Quote
yes, that the inconvenience and I give you the solution in the stackoverflow answer
k

Juraj

for Serial communication - Serial Input Basics

I recommend you to not ask so much but search and read.
You can't write an Arduino sketch if you didn't learn programming. Not the language, but the concepts of programming - algorithms and data types.

gourish


Go Up