Arduino code examples. html>qh

Contribute to the Help Center

Submit translations, corrections, and suggestions on GitHub, or reach out on our Community forums.

If the pin is configured as an INPUT, digitalWrite() will enable ( HIGH) or disable ( LOW) the internal pullup on the input pin. The Hitachi-compatible LCDs can be controlled in two modes: 4-bit or 8-bit. Connect the three wires from the potentiometer to your board. 3V to 5. Dec 5, 2014 · Here is a picture of the board, a few code examples are available later on in the article. We will make three examples, with the first one we will explain the basic working principle of the MAX7219 , in the second example we will see how the scrolling text on the 8×8 LED Matrix works, and in the third example we will control them via Bluetooth and a custom build Android application. Restart the IDE and then you should be able to use the library in your code. The Adafruit_CAN library can be installed via the Arduino Library Manager. write(address, value); For example, to write 9 on address 0, you’ll have: The example below turns on an LED on pin 13 (the built-in LED on many Arduino boards) if the value read on an analog input goes above a certain threshold. In this example project, we’ll use an Arduino + Phototransistor (3DU5C) as a light intensity sensor to measure the ambient light intensity. #include<LiquidCrystal. In this tutorial, you will learn how the sensor works and how to use it with Arduino. This example uses an MKR WAN 1310 board and the MKRWAN library to send data to a LoRaWAN® network, in this case, TTN. Arduino Phototransistor Code Example. In this example, we’ll read an analog input from a potentiometer connected to pin A0, map its value from the input range (0 to 1023) to a new range (0 to 255), and then use this mapped value to set the brightness of an LED connected to pin 9 (which supports PWM for analog output). Make sure you’ve installed the Adafruit Fingerprint Sensor library previously. The different elements are highlighted, compatible libraries and boards are shown together with example code. begin(9600); } void loop() { // put your main code here, to run repeatedly: Serial. When uploading code make sure you have Feather M4 CAN (SAME51) selected, not the Feather M4 Express! Quick Steps. For example, the line from the Blink sketch above declares a variable with the name ledPin, the type int, and an initial value of 13. Then install the library called LoRa by Sandeep Mistry. Reading Analog Input. Learn how to program and use Arduino for various projects, modules, sensors, displays and connectivity. Choose the board, the COM port, hold down the BOOT button, click upload, and keep your finger on the BOOT button pressed. print("Time: "); myTime = millis(); Serial. STM32duino Examples - Arduino Reference Language Jan 21, 2021 · This section demonstrate the hardware verification using an example code which we will upload in the microcontroller and observe it working. At first, we assign the pin that will power the buzzer. Arduino SPI as Master Start learning Arduino one of the most amazing device that you can do almost anything with it. The PCA9685 is an I²C-bus controlled 16-channel LED controller optimized for Red/Green/Blue/Amber (RGBA) color backlighting applications. An analog pin will give you a value between 0 and 1023, where 0 means 0V and 1023 means the maximum voltage possible (usually 5V). How to upload code to Arduino board. println("Hello World Jan 26, 2018 · Having the fingerprint sensor module wired to the Arduino, follow the next steps to enroll a new fingerprint. <style>. Nov 3, 2019 · Example Code #define a=3 /*Blink turns on an LED on for on second, then off for one second, repeatedly*/ void setup() { pinMode(a,OUTPUT); //this is a command that sets the nature of an Arduino pin as an output. Nextion. 3V boards) for HIGH, 0V (ground) for LOW. The first one is the EEPROM location or address where you want to save the data, and the second is the value we want to save: EEPROM. After installation complete restart your Arddiuino IDE. /* Basic example code for MAX7219 LED dot 3 days ago · The reason that many programmers frown upon the use of goto is that with the unrestrained use of goto statements, it is easy to create a program with undefined program flow, which can never be debugged. begin(9600); } void loop() { Serial. 2. 10k ohm Potentiometer. You'll also need the NeoPixel library. NOTE_FS4 is F sharp, and so forth. More on this later. See the result on LCD. Taking you from beginner level to advanced Arduino programming topics. The parseInt () function from the Serial library is made to scan down the serial receive buffer one byte at a time in search of the first valid numerical digit. 8. You can upload the example code to your Arduino via the Arduino IDE. Start with plugging your board into laptop using the USB cable. Depending on the hardware you are using, the libraries might vary. Arduino Board; optional. Go to File > Examples > Radiohead > nrf24 And use these examples “nrf24_reliable_datagram_client” and “nrf24_reliable_datagram_server”. Arduino Board See full list on startingelectronics. Apr 2, 2020 · how big can an Arduino project get, is there some limit? are there examples of large open source code bases? I did some research but find only example projects with single . ino FILE. Now, the ESP32 is flashed with the new firmware. 10K ohm resistor. It contains getting started tutorial for beginners along with video lectures. The sensitive module also has a VDDIO, an inbuilt temperature sensor, and an auxiliary I2C Real-Time Clock DS1307 Module includes 12 pins. Select Arduino serial port (number may be different) Type the following code. Upload the code, and open the serial monitor at a baud rate Navigate to the Libraries icon on the left bar of the Arduino IDE. This sketch will read out the sensor data from the analog input of the Arduino and display the output in the serial monitor. Following is the diagrammatic representation of the connection between both the boards −. Jun 11, 2024 · In this code nothing is done in the loop(), but you can add what happens when a new client connects (check the Notify example for some guidance). Code. Nov 9, 2015 · As the Arduino can work straight away with hexadecimal number, you will need to type “0x” in front of it – so it can see the difference between regular decimal number and these hexadecimal numbers. This code will make the built-in LED on your Arduino board blink on and off at 1-second intervals. 3. Feb 3, 2019 · Basic Arduino example code for I2C LCD. Step-3: Connect the positive power rail to the terminal strip via a 1K ohm resistor. Conversely, anything received on the virtual RX is sent out over the hardware TX. org Copy the above code and open with Arduino IDE. Features. 1 day ago · Example Code This example code prints on the serial port the number of milliseconds passed since the Arduino board started running the code itself. The first thing you should do is to take note of your components in the GUI that will interact with <iframe src="https://www. In this tutorial, we will learn how to use an Arduino and an LDR light sensor module to detect and measure the light level. The following is shown in the log: TMP36 Arduino Code Example – Temperature Sensor. SDA pin: is a serial data pin for I2C interface. This code will read the analog voltage from pin A0 and print the sensor value to the serial monitor. This example uses the built-in LED that most Arduino boards have. Creating an ESP32 BLE scanner is simple. Instead it returns the ratio between the resistance measured and the Rref reference resistor. Unlike Dec 8, 2022 · In this example you will monitor the state of your potentiometer after establishing serial communication between your Arduino and your computer running the Arduino Software (IDE). Code Example. h). unsigned long myTime; void setup() { Serial. You just need to add a blank . Feb 3, 2019 · 1. Connect the motor's four wires to the Easy Driver (note the proper coil connections), connect a power supply of 12V is to the Power In pins, and connect the Arduino's GND, pin 8 and pin 9 to the Easy Driver. oled. Every time the name ledPin appears in the code, its value will be retrieved. . Blinking LED. hook-up wires. The below Arduino code does: For example, on the Arduino Uno, only pins 2 and 3 can work with interrupts. Now lets see how to upload your first code to Arduino Uno using Arduino IDE. Hardware Required. In your Arduino IDE, go to File > Examples > BLE and select the Scan Sep 11, 2016 · Arduino PCA9685 example. For this tutorial, I used this standard 8x32 LED dot matrix display but you can use other types and/or sizes as well (see code explanation below). This is the most basic example you can have with an Arduino, an Easy Driver, and a stepper motor. 3 x push buttons. Versions of the Arduino IDE from 1. If you look at the code you can set different addresses to each device. Grab another ESP32 (while the other is running the BLE server sketch). Examples listed in this section have been tested and verified to work. Jul 30, 2016 · Module CLK -> Arduino D2 Module DT -> Arduino D3 Module + -> Arduino 5v Module GND -> Arduino GND. It uses MEMS technology and the Coriolis Effect for measuring, but for more details on it you can check my particular How MEMS Jun 7, 2017 · Complete code for Arduino Timer is given at the end. This Arduino code is an example of reading the voltage from the potentiometer (connected to analog pin A0) and then printing the value of the analog reading to the Serial Monitor. Nov 23, 2016 · The VL53L0X is a Time of Flight distance sensor like no other you've used! The sensor contains a very tiny invisible laser source, and a matching sensor. The LDR light sensor module is capable of detecting and measuring light in the surrounding environment. When the Arduino IDE starts sending the code, you can release the button and wait for the flashing process to be completed. piezo buzzer or a speaker. Basics " section of the File -> Examples menu. It has a name, a type, and a value. In this example project, we’ll use the CD74HC4067 to extend 1 analog input pin of the Arduino ( A0) and make it accept up to 16 different analog inputs. functions, constants in separate files say to avoid a 10K+ . For the sake of circuit simplicity, I’ll only use 4 analog channels of the CD74HC4067 module. The high-performance IC has 16-bit resolution analog-to-digital Converters. The module provides two outputs: a digital output (LOW/HIGH) and an analog output. multi function shield. In this series of Arduino tutorials list, we will start The Arduino programming language Reference, organized into Functions, Variable and Constant, and Structure keywords. Essentially, the IDE translates and compiles your sketches into code that Arduino can understand. h> The LED anode pin that is connected with Arduino pin 7 is defined as ledPin. Jan 12, 2019 · The HC-SR04 is an inexpensive, easy to use ultrasonic distance sensor, with a range of 2cm to 400 cm. Oct 27, 2022 · The Arduino IDE installation includes a collection of "built-in" example sketches that demonstrate fundamental sketch concepts. Aug 3, 2023 · Arduino Potentiometer Code. For displaying text on the screen, you can do most everything in 4-bit mode, so example shows how to control a 16x2 LCD in 4-bit mode. For the PT100 version of the breakout, this is a 430 ohm 0. Color (0xB7, 0x00, 0xFE); Nov 3, 2022 · In this blog post, you will learn how to use the ACS712 current sensor with an Arduino to measure DC and AC currents. Specifically, we will cover the following: Programming the Arduino Uno R4 WiFi to display single digits (0-9) or characters (A-Z) at a adjustable position. The example below demonstrates how to scroll a message. Aug 28, 2020 · DS18B20 temperature sensor with Arduino example code. If the pin has been configured as an OUTPUT with pinMode(), its voltage will be set to the corresponding value: 5V (or 3. In this tutorial, we will explore how to use the built-in LED matrix to display numbers and characters. /* DS18B20 1-Wire Oct 25, 2016 · Step-2: Connect the 13th digital pin of Arduino to the positive power rail of the breadboard and GND to the negative. 10K potentiometer. com/ns. Each LED output has its own 12-bit resolution (4096 steps) fixed frequency individual PWM controller that operates at a programmable frequency from a typical of 24 Hz to 1526 Hz with Feb 26, 2024 · Example code. For example, on MacOS, if the port number is /dev/cu. Contribute to arduino/arduino-examples development by creating an account on GitHub. For this tutorial, I used this 16×2 I2C character LCD display, but you can use other I2C LCDs of different sizes as well. You may need to create the libraries sub-folder if this is your first library. //serial receive buffer--> "314". Beginning with the basic structure of Arduino's C derived programming language, this notebook continues on to describe the syntax of the most common elements of the language and illustrates their usage with examples and code fragments. The counter register’s value is sent to the PC over the serial port 4 times per second. Find over 60 tutorials with code examples, schematics, images and videos. pinMode(buzzerPin, OUTPUT); // This will set the pin 11 as output. Open File > Examples > WiFi > WiFiScan sketch. setCursor(x,y): set the coordinates to start writing text. With the following example code, you can read the temperature from a DS18B20 sensor and display it in the Serial Monitor. Learn from downplaying and installing Arduino software, get f Arduino Nicla Sense ME Cheat Sheet. Find it by searching for "Adafruit CAN". h. Reply Jan 3, 2019 · Now, we will connect two Arduino UNO boards together; one as a master and the other as a slave. You can upload the example code to your Arduino using the Arduino IDE. Here is the complete code listing for this example. Verify the library by name in the results and then click Install. The gyroscope measures rotational velocity or rate of change of the angular position over time, along the X, Y and Z axis. write () function that takes in two arguments. I have included 5 examples with a wiring diagram and code so you can start Mar 22, 2024 · Simple Arduino Code Examples. In this example project, we’ll use Arduino analog input with a TMP36 temperature sensor to read the temperature value and print it over UART to the serial monitor in both units (degrees Celsius °C and Fahrenheit °F). html?id=GTM-NK2TW8L" height="0" width="0" style="display: none; visibility: hidden" aria-hidden="true"></iframe> Sep 2, 2022 · Pushbuttons or switches connect two points in a circuit when you press them. FSR with Arduino example code – Analog voltage reading. In the first example, we’ll print out the humidity & temperature readings to the serial monitor. print("array_rows. Connect three wires to the board. This example sketch will display the classic ‘Hello World!’ on the first line of the LCD and ‘LCD Arduino - LDR Module. Find useful tips and resources on the Arduino Forum. The detail instruction, code, wiring diagram, video tutorial, line-by-line code explanation are provided to help you quickly get started with Arduino. ESP32 BLE Scanner. val="); // Sending to Nextion the value of ARRAY_ROWS, that represent how many Lines is the array 2. void setup() { // put your setup code here, to run once: Serial. Apr 2, 2019 · The library comes with an example that will help you use that concept. gatsby-image-wrapper [data-placeholder-image]{opacity:0!important}</style> <iframe src Learn how to program Arduino to read temperature and humidity from DHT11 sensor and module. Find this and other Arduino tutorials on ArduinoGetStarted. (SS) : pin 10 (MOSI) : pin 11 (MISO) : pin 12 (SCK) : pin 13; The ground is common. Code for RTC and LCD 16×2. You’ll find a sample code example in Arduino IDE for ESP32 WiFi Scanner. See the output on Serial Monitor. To summarize the register settings, setting the waveform generation mode bits WGM to 011 selects fast PWM. g. Circuit. This LED is connected to a digital pin and its number may vary from board type to board The Arduino Uno R4 WiFi comes with a 12x8 LED Matrix. clearDisplay(): all pixels are off. Color() call would look something like this: strip. Most examples require you to input the SSID and PASSWORD for your local Wi-Fi® network. org. Example 01 – Arduino Code. In the example below, digital pins 10 and 11 on your Arduino boards are used as virtual RX and TX serial lines. One of these situations is to break out of Sep 1, 2019 · @Arduino in its turn will send the data that we have specified through the switch case command in the Arduino code for this page which are the following: CODE SAMPLE FROM . Send. drawPixel (x,y, color): plot a pixel in the x,y coordinates. purposes and, for example, excludes the more complex uses of arrays or advanced forms of serial communication. Setting the CS bits to 100 sets the prescaler to divide the clock by 64. } I connected a small LED to pin 11 to see the results of the above PWM code sample. Now, we’re ready to create our first Arduino project with the CD74HC4067 Analog Multiplexer. Piezo buzzer. 13 and higher will automatically adjust the serial port selected when you do this, but earlier versions won't, and other applications using the serial port won't, so Place the PCF8574 library folder in your Arduino /libraries/ folder. You can upload the following example code to the Arduino using the Arduino IDE. Setting the COM2A bits and COM2B bits to 10 provides non-inverted PWM for outputs A and B. The code allows you to display real-time data from the RTC on the LCD screen, creating a functional and informative project. int buzzerPin = 11; // initializing the buzzer pin at pin 11 of Arduino. Then, we’ll create a couple of Arduino DHT22 code example projects to practice what we’ll learn in this tutorial. 3V on 3. Step-4: Fix the LED to the ports below the resistor connection in the terminal strip. com. Search "LiquidCrystal I2C", then find the LiquidCrystal_I2C library by Frank de Brabander. As a standard practice, in all of our examples, we store this in a separate header file (called arduino_secrets. The MPU9250 is a 9-axial Motion Tracking device with a 3-Dimensional gyroscope, 3-Dimensional magnetometer, and 3-Dimensional accelerometer embedded into an ultra-compact IC. The below are some functions that you can use to display text on the OLED: oled. As you can see, the IDE has a minimalist design. Figure: Install LoRa library. These examples include code that allows the Arduino to talk to Processing sketches running on the computer. Jan 23, 2019 · Example 1: Basic Arduino setup. Learn to program Arduino sketches with step-by-step tutorials and comprehensive documentation on the official Arduino website. May 27, 2024 · The following code fragment sets up fast PWM on pins 3 and 11 (Timer 2). In this example project, we’ll establish serial communication between Arduino & PC using the UART serial port. 1% resistor (marking is 4301 !!!) Jan 25, 2021 · Install the Arduino Library. LED. ino file? Here is an example of an Arduino Counter Timer Code that sets Timer1 to operate in Counter Mode (counts up every RISING edge on the T1 pin). Nov 30, 2016 · The VL6180X is a Time of Flight distance sensor like no other you've used! The sensor contains a very tiny invisible laser source, and a matching sensor. So for example a NeoPixel strip. It can be anywhere between 3. 1 day ago · The Arduino programming language Reference, organized into Functions, Variable and Constant, Example Code // Brighten an LED using a PWM pin int PWMpin = 10 . And in the second project, we’ll use Arduino DHT22 + LCD 16×2 I2C to print the readings. VCC pin: supplies power for the module. By the end of this tutorial, you will have a clear understanding of how the ACS712 sensor works, how to connect it to an Arduino, and how to read and display current data using code examples. Schematic. Now that you have wired up the sensor, you can upload the following example code using the Arduino IDE. Momentary button or Switch. However, for normal use, it needs to use 4 pins: VCC, GND, SDA, SCL: SCL pin: is a serial clock pin for I2C interface. The virtual RX pin is set up to listen for anything coming in on via the main serial line, and to then echo that data out the virtual TX line. 4 LED’s. Open Arduino IDE. void setup() { // Code written in it will only run once. Using Arduino® hardware and software to communicate with LoRa® and LoRaWAN® networks is simple; let's check out an example. First, connect the 5V and Ground pins to 5V and GND on your Arduino. When you want to print a message on a dot matrix display, you will often find that the display is too small to fit the whole message. Arduino UNO R4 WiFi; Arduino IDE; Examples. Hardware. This example turns on the built-in LED on pin 13 when you press the button. Let us see examples of SPI as Master and SPI as Slave. For more on Max/MSP see Cycling 74. It also includes IOT based project using Arduino Uno R3. This is setup code This is loop code, count: 1 This is loop code, count: 2 This is loop code, count: 3 This is loop code, count: 4 This is loop code, count: 5 This is This is a complete list of arduino tutorials for beginners. The below list consists of a large collection of free Arduino Projects that was built by us here in Circuit Digest. Select Arduino board. h file in the dummy library's root folder to make it be recognized by the Arduino IDE. Overview. You should be able to copy and paste code to make the Arduino do what you want. Arduino is a popular open-source development board used by engineers, hobbyists, and makers to develop electronic projects and prototypes easily. #define ledPin 7 Arduino projects with great code, explanations, diagrams and simulation Get new Arduino coding examples every week: Arduino-powered Digital Safe Box. Learn how to send/receive data via RS485 using Arduino, how to program Arduino step by step. To start, you’ll need to include the necessary libraries for both the RTC module and the LCD display in your Arduino sketch. Aug 31, 2017 · Write. It’s very straightforward to connect the laser module to an Arduino. 4 digit 7-segment LED display module driven by two serial 74HC595’s. Learn how to set up the Arduino Nicla Sense ME and get a quick overview of the components. The following section gives an overview of Modbus compatible Arduino boards and the libraries to enable Modbus protocol capability. For example, NOTE_C4 is middle C. googletagmanager. Unlike 3 days ago · 500+ DIY Arduino Projects with Code & Circuit Diagram. Having the library installed in your Arduino IDE. Then connect the Signal pin to any of the digital output pins on your Arduino. The code below uses an extra file, pitches. To copy the code, click on the button in the top right corner of the code field. Connect Arduino to PC via USB cable. With a couple of techniques for interrupt latency measurement with Arduino code examples. The VL6180X can detect the "time of flight", or how long the light has taken to bounce back to the sensor. Arduino Example Code 2 – Scrolling Text. This note table was originally written by Brett Hagman, on whose work the tone() command Learn how to set up your Arduino board, install the software, and write your first sketch. Arduino IDE bundled examples. 1. Here we are explaining the code line by line: As 16x2 LCD is used in the project to display the preloader value, so liquid crystal library is used. The circuit for this example is shown in the image below: Circuit used in the example. 220 ohm resistor. There are also Max/MSP patches that can communicate with each Arduino sketch as well. ino file. The Arduino platform (HW boards + SW ide) is the absolute beginner-friendly solution that makers, students, and engineers love to use worldwide. setTextSize(n): set the font size, supports sizes from 1 to 8. Since it uses a very narrow light source, it is good for determining distance of only the surface directly in front of it. So if you have “314” in the serial receive buffer, you’d get 314 returned the first time you call Serial. Nov 16, 2016 · If you're set on having them show up in the File > Examples menu then you should create a dummy library at {sketchbook}/libraries and put the examples in the examples subfolder of that dummy library. ESP32 Scan WiFi Networks. It is commonly used in obstacle avoiding robots and automation projects. Arduino code example. 1% resistor (marking is 4300 !!!) For the PT1000 version of the breakout, this is a 4300 ohm 0. The ESP32 can scan for WiFi networks within its range and return the found networks’ SSIDs and signal strength for each network. There are only 5 headings on the menu bar, as well as a series of buttons underneath which allow you to verify and upload your sketches. The solution is the scroll text effect. COM6. This list of Arduino tutorials also contains more than 40 sensors interfacing with arduino. The following Arduino PWM code sample reduces the voltage and average current output of pin 11: void setup { pinMode(11, OUTPUT); analogWrite(11, 127); //Operates at a reduced voltage and current. The VL53L0X can detect the "time of flight", or how long the light has taken to bounce back to the sensor. For more information or to download Processing, see processing. breadboard. Nov 15, 2016 · The MAX31865 doesn't actually return the resistance it measures. Arduino Board. Feb 6, 2023 · Arduino board. You will need to create 3 days ago · Write a HIGH or a LOW value to a digital pin. I tried many examples which had several problems such as incorrectly determining the direction and missing turns and double counts but the following example seemed to work fine, so kudos to the author [codesyntax lang=”cpp”] Arduino Code – Rotary Encoder without Interrupt. Are there projects with multiple files e. usbmodem14102. To write data into the EEPROM, you use the EEPROM. Jul 6, 2023 · How To Connect the Laser Module to Arduino. Click Install button to install LiquidCrystal_I2C library. Here’s the Arduino code for the first example, a basic communication between the two modules using the Serial Monitor. Jul 10, 2024 · This example shows the simplest thing you can do with an Arduino to see physical output: it blinks the on-board LED. gatsby-image-wrapper noscript [data-main-image]{opacity:1!important}. Obtain information regarding pins and how to use the different sensors. The analog voltage reading will be sent back to the PC over the serial port and we’ll display it on the serial monitor and the serial plotter. 5V. Parts List Here is the full components list for all parts that you’d need in order to perform the practical LABs mentioned here in this article and for the whole Arduino Programming series of tutorials found here on DeepBlueMbedded. The 4-bit mode requires seven I/O pins from the Arduino, while the 8-bit mode requires 11 pins. These "built-in" example sketches fail to open. With that said, there are instances where a goto statement can come in handy, and simplify coding. This LED is connected to a digital pin and its number may vary from board type to board The MPU6050 IMU has both 3-Axis accelerometer and 3-Axis gyroscope integrated on a single chip. parseInt (). Click Upload button on Arduino IDE to upload code to Arduino. The Arduino UNO board has a main microcontroller Atmega328p and another Atmega16U microcontroller acting as a USB-To-TTL (USB-UART) converter which enables us to send serial data using UART to the PC’s USB port. These are accessed via the " 01. By setting the Signal pin high or low, you can turn the laser on and off. Copy the above code and open with Arduino IDE. Getting Started With Arduino: Here, you’ll find a complete Arduino Tutorials series (Free Arduino 101 Course). Hardware Required Arduino Board Jan 20, 2024 · To install, the library from Arduino IDE, Open your IDE and go to Sketch -> Include Library -> Manage Libraries and search for “ LoRa Radio ”. Open Serial Monitor. May 24, 2020 · With the example code below you can print text on the display without any animations. This library also comes with very good examples which will help you in getting your hands on the IO Expander. Apr 2, 2019 · A good way to learn how to write code for the Arduino to interact with the Nextion display is to go to the examples folder in the Nextion library folder and explore. usbmodem14101, then adding the Keyboard library will change it to /dev/cu. It's being used to indicate which Arduino pin the LED is connected to. This file contains all the pitch values for typical notes. println(myTime); // prints time since program started delay(1000); // wait Jul 10, 2024 · This example shows the simplest thing you can do with an Arduino to see physical output: it blinks the on-board LED. In the Arduino IDE, go to File > Examples > Adafruit Fingerprint Sensor Library > Enroll. qh dm pu bc gp dp wo tm jw ic