I want to blink an LED while displaying its count on I2C 16x2 LCD display. However the LED is never becoming lit nor is it glowing at all.
I used https://www.adafruit.com/product/1115 which uses i2c . I connected LED with 270ohm resister between Pin-11(GPIO-17) and Pin-6(GND)
I am using the following code to blink LED but the LED doesn't blink at all!
import RPi.GPIO as GPIO GPIO.setmode(GPIO.BOARD) ## Use board pin numbering GPIO.setup(11, GPIO.OUT) ## Setup GPIO Pin 7 to OUT GPIO.output(11,True)
Do I have to use I2C address instead of
Note: LED is not faulty nor is the LCD, I tested both by removing one by one for clear picture !