Seeeduino lora dosent work with hight temperature sensor

Hi there,


  1. please change the High_Temp.ccp as below

    a. change the Serial.print to SerialUSB.print

    b. change the 2 bold lines as below



    int a = getAnalog(pinRoomTmp); // 3.3V supply



    float vout = (float)getAnalog(pinThmc)/1023.03.31000;



  2. download below code the seeeduino lorawan. thanks.

[code]#include “High_Temp.h”

HighTemp ht(A1, A0);

void setup()
{
SerialUSB.begin(115200);
SerialUSB.println(“grove - hight temperature sensor test demo”);
ht.begin();
}

void loop()
{
SerialUSB.println(ht.getThmc());
delay(100);
}[/code]