Hello i have a seeduino lora gps board and also I bought a grove thermometer , in tested the grove with arduino uni it works with seeduino it dose not
I gave tryed everything even upgrading firmware
Could anyone help
Below is the link of the tutorial that I tried step by step
<LINK_TEXT text=“http://wiki.seeedstudio.com/Grove-High_ … re_Sensor/”>http://wiki.seeedstudio.com/Grove-High_Temperature_Sensor/</LINK_TEXT>
Hi there,
- 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;
- 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]