<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[SHT3x utility problem]]></title><description><![CDATA[<p dir="auto">I am getting these error while trying to compile helloworld example for M5 paper.<br />
C:\Users\DELL\OneDrive\Documents\Arduino\libraries\M5EPD\src\utility\SHT3x.cpp: In member function 'uint8_t SHT3x::UpdateDataImpl()':<br />
C:\Users\DELL\OneDrive\Documents\Arduino\libraries\M5EPD\src\utility\SHT3x.cpp:55:22: error: 'I2C_ERROR_OK' was not declared in this scope<br />
if (error != I2C_ERROR_OK)<br />
^~~~~~~~~~~~<br />
C:\Users\DELL\OneDrive\Documents\Arduino\libraries\M5EPD\src\utility\SHT3x.cpp:55:22: note: suggested alternative: 'SHT3x_ERROR_OK'<br />
if (error != I2C_ERROR_OK)<br />
^~~~~~~~~~~~<br />
SHT3x_ERROR_OK<br />
C:\Users\DELL\OneDrive\Documents\Arduino\libraries\M5EPD\src\utility\SHT3x.cpp:64:22: error: 'I2C_ERROR_OK' was not declared in this scope<br />
if (error != I2C_ERROR_OK)<br />
^~~~~~~~~~~~<br />
C:\Users\DELL\OneDrive\Documents\Arduino\libraries\M5EPD\src\utility\SHT3x.cpp:64:22: note: suggested alternative: 'SHT3x_ERROR_OK'<br />
if (error != I2C_ERROR_OK)<br />
^~~~~~~~~~~~<br />
SHT3x_ERROR_OK<br />
C:\Users\DELL\OneDrive\Documents\Arduino\libraries\M5EPD\src\utility\SHT3x.cpp: In member function 'uint8_t SHT3x::SendMeasurementCommand()':<br />
C:\Users\DELL\OneDrive\Documents\Arduino\libraries\M5EPD\src\utility\SHT3x.cpp:86:21: error: 'class TwoWire' has no member named 'lastError'<br />
return Wire.lastError();<br />
^~~~~~~~~<br />
C:\Users\DELL\OneDrive\Documents\Arduino\libraries\M5EPD\src\utility\SHT3x.cpp:90:21: error: 'class TwoWire' has no member named 'lastError'<br />
return Wire.lastError();<br />
^~~~~~~~~<br />
C:\Users\DELL\OneDrive\Documents\Arduino\libraries\M5EPD\src\utility\SHT3x.cpp: In member function 'uint8_t SHT3x::ReceiveResult(uint8_t*)':<br />
C:\Users\DELL\OneDrive\Documents\Arduino\libraries\M5EPD\src\utility\SHT3x.cpp:101:16: error: 'I2C_ERROR_TIMEOUT' was not declared in this scope<br />
return I2C_ERROR_TIMEOUT;<br />
^~~~~~~~~~~~~~~~~<br />
C:\Users\DELL\OneDrive\Documents\Arduino\libraries\M5EPD\src\utility\SHT3x.cpp:101:16: note: suggested alternative: 'ESP_ERR_TIMEOUT'<br />
return I2C_ERROR_TIMEOUT;<br />
^~~~~~~~~~~~~~~~~<br />
ESP_ERR_TIMEOUT<br />
C:\Users\DELL\OneDrive\Documents\Arduino\libraries\M5EPD\src\utility\SHT3x.cpp:103:12: error: 'I2C_ERROR_OK' was not declared in this scope<br />
return I2C_ERROR_OK;<br />
^~~~~~~~~~~~<br />
C:\Users\DELL\OneDrive\Documents\Arduino\libraries\M5EPD\src\utility\SHT3x.cpp:103:12: note: suggested alternative: 'SHT3x_ERROR_OK'<br />
return I2C_ERROR_OK;<br />
^~~~~~~~~~~~<br />
SHT3x_ERROR_OK<br />
Multiple libraries were found for "WiFiClient.h"<br />
Used: C:\Users\DELL\AppData\Local\Arduino15\packages\m5stack\hardware\esp32\2.0.1\libraries\WiFi<br />
Not used: D:\arduino-1.8.18\libraries\WiFi<br />
Multiple libraries were found for "SD.h"<br />
Used: C:\Users\DELL\AppData\Local\Arduino15\packages\m5stack\hardware\esp32\2.0.1\libraries\SD<br />
Not used: D:\arduino-1.8.18\libraries\SD<br />
exit status 1<br />
Error compiling for board M5Stack-Paper.</p>
]]></description><link>https://community.m5stack.com/topic/3855/sht3x-utility-problem</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 19:11:38 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/3855.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 22 Dec 2021 16:51:36 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to SHT3x utility problem on Thu, 23 Dec 2021 09:24:55 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/hrsavla" aria-label="Profile: hrsavla">@<bdi>hrsavla</bdi></a></p>
<p dir="auto">there are multiple issues to fix this for compilation with Arduino framework 2.0.1.</p>
<p dir="auto">I've attempted to solve those issues <a href="https://github.com/felmue/M5EPD/tree/fm-fix-for-arduino-2.0.1" target="_blank" rel="noopener noreferrer nofollow ugc">here</a> - try it at your own risk.</p>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/15929</link><guid isPermaLink="true">https://community.m5stack.com/post/15929</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Thu, 23 Dec 2021 09:24:55 GMT</pubDate></item></channel></rss>