Skip to main content
1 of 2

In your script you are using BMC and setting 24 high. Since you are using BMC you will not be switching pin 24. BMC 24 is actually pin 18. To connect your LED put a resistor in series with it then connect between pin 18 and ground.