User Tools

Site Tools


esp32

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
esp32 [2019/03/19 15:49] – aistisesp32 [2023/02/25 13:20] (current) – aistis
Line 2: Line 2:
  
 support uart speed up to 3000000 stable support uart speed up to 3000000 stable
 +
 +
 +SDA=21
 +SCL=22
 +
 +led pin is 02
 +<code>
 +// the setup function runs once when you press reset or power the board
 +void setup() {
 +  // initialize digital pin LED_BUILTIN as an output.
 +  pinMode(2, OUTPUT);
 +}
 +
 +// the loop function runs over and over again forever
 +void loop() {
 +  digitalWrite(2, HIGH);   // turn the LED on (HIGH is the voltage level)
 +  delay(1000);                       // wait for a second
 +  digitalWrite(2, LOW);    // turn the LED off by making the voltage LOW
 +  delay(1000);                       // wait for a second
 +}
 +</code>
  
 {{:pasted:20190319-154721.png}} {{:pasted:20190319-154721.png}}
Line 12: Line 33:
  
 {{:pasted:20190319-154941.png}} {{:pasted:20190319-154941.png}}
 +
 +
 +esp32 pins:
 +
 +https://randomnerdtutorials.com/esp32-pinout-reference-gpios/
 +
 +{{:pasted:20230225-132003.png}}
esp32.1553003382.txt.gz · Last modified: by aistis