Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't function for blackpill stm32f401ccu6 #220

Open
seongwei03 opened this issue Dec 27, 2024 · 0 comments
Open

Doesn't function for blackpill stm32f401ccu6 #220

seongwei03 opened this issue Dec 27, 2024 · 0 comments

Comments

@seongwei03
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant