Skip to content

Doesn't function for blackpill stm32f401ccu6 #220

@seongwei03

Description

@seongwei03

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions