Hi,
I'm completely new to Arduino.
What I'm seeking is a very high level overview of "how would I do this".
Problem Proposal
Take this example:
I have an Arduino uno, breadboard, ESP8266 01 using a LLC and an ultrasonic sensor.
As you can imagine I would like to send Ultrasonic data 'somewhere' using my ESP.
The Sketch Confusion
Lets say I have all the above wired up. What I don't understand is the sketch upload part.
I've seen some tutorials using the Arduino IDE where you have to select ESP as a board and then upload.
I've seen other tutorials where you select Arduino Uno as a board and then upload.
So I'm confused about what goes where.
Can I write my ESP code and UltraSonic code all in one sketch file? If so what board do I select to upload (ESP Or Uno).
Apologies if this sounds absurdly Naive. I've done a lot of searching but I just cant seem to put 2 & 2 together.
I'd appreciate if somebody could spell this out for me (the principles at a high level).
Thanks for readig