Prototyping Shield for Arduino

I bought the “Prototyping Shield for Arduino”, which provides extra buttons and leds. This is very handy, but there’s no mention how I can access the leds and the buttons in code with the Arduino.

How can i do so?

And importantly, where should I have looked to find it (teach somebody to fish…)? :slight_smile:

Thanks!

Do you mean RB-Dfr-34: DFRobot Arduino Prototyping Shield? If so, it’s good to take a look at the schematic to see which pins are connected to what. Two LEDs are controlled by pad 2&3.Use the simple code ,you can control them easily. There’s only one general use button - the other is connected to reset.
If you did not mean this shield, can you tell us which board you are referring to?

Yes, that’s the shield I meant. I looked at the schematics, but I’m pretty new to it all. The “pads” you are referring to must be accessed by soldering something onto them and are not available by simply plugin a cable in, right? They are the thing I circled in red onto the screenshot…

Sorry for my newbieness…

Thank you again,

Yup. Those are the pads 1, 2 and 3.

And those “pads” are accessed like pins from the Arduino? Like “digitalWrite(2, HIGH);” for the led?

They’re general purpose pads for prototyping, so you can connect them to whichever digital pins you want (or additional circuitry) using wires.

Ah! I see now.

Thanks a lot!