This example shows how to use LilyGO T-HiGrow + T-HiGrow Lora Sheld to connect to TTN and display the data in Cayenne,The sample code does not do any power optimization, only data demonstration.
Steps:
Move or copy the folders in the libdeps directory to C:\Documents\Arduino\libraries
Replace APPEUI, DEVEUI, APPKEY in the sketch with the three assigned by TTN.
Log in to Cayenne, add the device as shown in the figure below. Select CayenneLPP in the third column, fill in DevEUI in TTN in DevEUI in the fourth column, and then add device
Finally, if the data is uploaded successfully, the dashboard will automatically add controls.