Please format your post so we can read it. Your original mix of bold/capitals/normal text and lack of indentation makes it impossible to find any issues.
Are you aware Python uses indentation as part of the syntax? The ‘pycom.rgbled’ at the start of the line terminates the loop above it. The next line with indentation confuses python as it should start at the first character of the line as well.
As mentioned by @descartes, you don’t have a LoRaWAN gateway, your hardware is disruptive and should not be used in TTN. Even once you solved your syntax issues this combination of a pycom node and incompatible packet forwarder won’t work.