# 1.1.3 LED Bar Graph - GPIO24, SPICE0 acting strange

**URL:** https://forum.sunfounder.com/t/1-1-3-led-bar-graph-gpio24-spice0-acting-strange/491
**Category:** Learning kit for Raspberry Pi
**Created:** [August 27, 2023, 12:14am UTC](https://forum.sunfounder.com/t/1-1-3-led-bar-graph-gpio24-spice0-acting-strange/491 "2023-08-27T00:14:34Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![he3](https://avatars.discourse-cdn.com/v4/letter/h/f1d935/32.png) [@he3](https://forum.sunfounder.com/u/he3)
#### Post date: [August 27, 2023, 12:14am UTC](https://forum.sunfounder.com/t/1-1-3-led-bar-graph-gpio24-spice0-acting-strange/491/1 "2023-08-27T00:14:34Z")

</div>

When running the python code:  
GPIO24 (pin 6) is off, but will flash on for a moment when the pin is hit on the loop.  
SPICE0 (ping 10) is flickering constantly.

I verified the LED Bar Graph is fine by switching the leads pins 5/6 and 9/10 and the issue follows the Pi.

Im using a Pi 3.

Is there a chance the Pi has something wrong with it or is it possibly by design because of how the pins work on the Pi?  
I am very new and just started going through the Play with Python activities.

Thanks in advance.

---

<div class="post-metadata">

### Author: ![SunFounder\_Moderator](https://avatars.discourse-cdn.com/v4/letter/s/34f0e0/32.png) [@SunFounder\_Moderator](https://forum.sunfounder.com/u/SunFounder_Moderator)
#### Post date: [August 28, 2023, 10:43am UTC](https://forum.sunfounder.com/t/1-1-3-led-bar-graph-gpio24-spice0-acting-strange/491/2 "2023-08-28T10:43:32Z")

</div>

Didn’t understand what you meant.  
Did you encounter any problem while running sudo python3 1.1.3\_LedBarGraph.py.  
Please provide us with an image of the problem so that we can analyze it and solve it.  
How is your GPIO cable connecting the Raspberry Pi to the breadboard.
