@felmue This fixed the issue! Thanks. I found that this was the issue. It was using Wire.begin()
instead of Wire.begin(0,26)
R
Latest posts made by risingmoon
-
RE: ENV III M5StickC-Plus SHT3X issues
-
ENV III M5StickC-Plus SHT3X issues
I bought both the M5StickC Plus and ENV III Hat from digikey, but I have not been able to get temperature from SHT3X in Arduino IDE. I keep getting
Wire.endTransmission()
return value of for NACK. How do I fix/debug this or is this HAT broken?#include <M5Unified.h> #include <Wire.h> void setup() { M5.begin(); Serial.begin(115200); Wire.begin(); } void loop() { // Start I2C Transmission Wire.beginTransmission(0x44); // Send measurement command Wire.write(0x2C); Wire.write(0x06); // Stop I2C transmission int result = Wire.endTransmission(); if (result != 0) { Serial.println("Failed"); Serial.println(result); } delay(5000); }