http://arduino.esp8266.com/stable/package_esp8266com_index.json, https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
![]() |
Source from Random Nerd Tutorials |
---|
Here it gets practical! You need to solder the microcontroller and some of the sensors, which you will need in the next session.
Fig. 1: In Action at UNICAES
Now let's check if your Microcontroller works. Also, you will learn how to upload your first sketch. Basic Blink example:
void setup() { // initialize digital pin LED_BUILTIN as an output. pinMode(LED_BUILTIN, OUTPUT); } // the loop function runs over and over again forever void loop() { digitalWrite(LED_BUILTIN, HIGH); // turn the LED on (HIGH is the voltage level) delay(1000); // wait for a second digitalWrite(LED_BUILTIN, LOW); // turn the LED off by making the voltage LOW delay(1000); // wait for a second }