You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I would like to ask why it show some error in library.
c:\Users\User\OneDrive\ ĵ \Arduino\libraries\DHT_sensor_library\DHT.cpp: In constructor 'DHT::DHT(uint8_t, uint8_t, uint8_t)':
c:\Users\User\OneDrive\ ĵ \Arduino\libraries\DHT_sensor_library\DHT.cpp:51:37: error: 'microsecondsToClockCycles' was not declared in this scope
microsecondsToClockCycles(1000); // 1 millisecond timeout for
^
c:\Users\User\OneDrive\ ĵ \Arduino\libraries\DHT_sensor_library\DHT.cpp: In member function 'float DHT::readTemperature(bool, bool)':
c:\Users\User\OneDrive\ ĵ \Arduino\libraries\DHT_sensor_library\DHT.cpp:112:13: error: 'word' was not declared in this scope
f = ((word)(data[2] & 0x7F)) << 8 | data[3];
^
c:\Users\User\OneDrive\ ĵ \Arduino\libraries\DHT_sensor_library\DHT.cpp: In member function 'float DHT::readHumidity(bool)':
c:\Users\User\OneDrive\ ĵ \Arduino\libraries\DHT_sensor_library\DHT.cpp:158:13: error: 'word' was not declared in this scope
f = ((word)data[0]) << 8 | data[1];
^
c:\Users\User\OneDrive\ ĵ \Arduino\libraries\DHT_sensor_library\DHT.cpp:158:18: error: expected ')' before 'data'
f = ((word)data[0]) << 8 | data[1];
^
grpc: error while marshaling: string field contains invalid UTF-8
Compilation error: grpc: error while marshaling: string field contains invalid UTF-8
The text was updated successfully, but these errors were encountered:
Hi, I would like to ask why it show some error in library.
c:\Users\User\OneDrive\ ĵ \Arduino\libraries\DHT_sensor_library\DHT.cpp: In constructor 'DHT::DHT(uint8_t, uint8_t, uint8_t)':
c:\Users\User\OneDrive\ ĵ \Arduino\libraries\DHT_sensor_library\DHT.cpp:51:37: error: 'microsecondsToClockCycles' was not declared in this scope
microsecondsToClockCycles(1000); // 1 millisecond timeout for
^
c:\Users\User\OneDrive\ ĵ \Arduino\libraries\DHT_sensor_library\DHT.cpp: In member function 'float DHT::readTemperature(bool, bool)':
c:\Users\User\OneDrive\ ĵ \Arduino\libraries\DHT_sensor_library\DHT.cpp:112:13: error: 'word' was not declared in this scope
f = ((word)(data[2] & 0x7F)) << 8 | data[3];
^
c:\Users\User\OneDrive\ ĵ \Arduino\libraries\DHT_sensor_library\DHT.cpp: In member function 'float DHT::readHumidity(bool)':
c:\Users\User\OneDrive\ ĵ \Arduino\libraries\DHT_sensor_library\DHT.cpp:158:13: error: 'word' was not declared in this scope
f = ((word)data[0]) << 8 | data[1];
^
c:\Users\User\OneDrive\ ĵ \Arduino\libraries\DHT_sensor_library\DHT.cpp:158:18: error: expected ')' before 'data'
f = ((word)data[0]) << 8 | data[1];
^
grpc: error while marshaling: string field contains invalid UTF-8
Compilation error: grpc: error while marshaling: string field contains invalid UTF-8
The text was updated successfully, but these errors were encountered: