See if the macro I just posted will work for you. It will convert to upper case the text you type of the trigger prefix of: ;uc.YourText and then SPACE or TAB
;uc.YourText
So, ;uc.led[SPACE] results in: LED
;uc.led[SPACE]
LED
Please feel free to ask any follow-up questions.
For more information, see the wiki Searching the Forum for Answers section.