Eine gute Anleitung hast du schon hier:
https://www.roboternetz.de/community...-LED-ansteuern
... bekommen.