Help with Arduino code

Job ID: 36137955

Budget: $30 – $250 USD

I have got the IBM lmic code working to send "hello world" to the things network but need to change this so send sensor data instead. The sensor im using is this https://www.dfrobot.com/product-1863.html. The lmic code and sensor code are provided below