Grove - Red LED is similar to the Grove - LED module in that it houses an LED light source. In addition, it also has a potentiometer on-board to manage the power requirements of the LED. The PCB of this module has mounting holes using which it can be mounted on the required surface for your prototype. For example, it can be easily used as a pilot lamp for indicating power or signal presence.
Follow these steps to build a sample circuit using this module:

You can use either the Grove - USB Power module or the Grove - DC Jack Power module for the Grove circuit when using in standalone mode (without MCU). When used in conjunction with an MCU board such as an Arduino or Seeeduino and a Grove - Base Shield, the power is supplied to the circuit through the microcontroller board and there is no need to use any Grove Power Module.
Connect the LED to Port D4 and power on the Raspberry Pi, using the Grove wire connector.This is a test to make led blinking.You can connect to GrovePi+ with it as the picture below.
# GrovePi LED Blink example
import time
from grovepi import *
# Connect the Grove LED to digital port D4
led = 4
pinMode(led,"OUTPUT")
time.sleep(1)
while True:
try:
#Blink the LED
digitalWrite(led,1) # Send HIGH to switch on LED
time.sleep(1)
digitalWrite(led,0) # Send LOW to switch off LED
time.sleep(1)
except KeyboardInterrupt: # Turn LED off before stopping
digitalWrite(led,0)
break
except IOError: # Print "Error" if communication error encountered
print "Error"
cd GrovePi/Software/Python/
sudo python grove_led_blink.py
This Grove module is available as part of the following Grove Kit Series:
The Grove Mixer Pack uses the Grove - LED module.
Alternatively, it can be bought stand-alone here at the Seeed Studio Bazaar.