To check single LED blink using Raspberry Pi Pico.
Required Components
- Led _1 no
- Resister 330Ω _1 no
- Raspberry Pi Pico board _1 no
- Connecting wires _1 set
Circuit
Steps
- Make sure the components are working properly.
- Connect 330 Ω Resistor to the LED Anode (+) pin and LED cathode (-) pin to Gnd.
- Connect Raspberry Pi Pico pin 28 to the LED anode pin.
- Check the Arduino program.
- Check the circuit connections.
- Run the Arduino program.
Arduino Program
int led1 = 28;
void setup ( )
{
pinMode (led1, OUTPUT);
}
void loop ( )
{
digitalWrite (led1, HIGH);
delay (3000);
digitalWrite (led1, LOW);
delay (1000);
}