Skip to content

Error in the stt in the code #3

@GhostTech-69

Description

@GhostTech-69

im getting these errors:
version is at 2.0.14 as people said.

C:\Users\faizm\Downloads\ESP32-ChatGPT-V2-main (1)\ESP32-ChatGPT-V2-main\ESP32_Speech_to_Text\I2S.cpp: In member function 'int I2S::Read(char*, int)':
C:\Users\faizm\Downloads\ESP32-ChatGPT-V2-main (1)\ESP32-ChatGPT-V2-main\ESP32_Speech_to_Text\I2S.cpp:57:10: error: 'i2s_read_bytes' was not declared in this scope
return i2s_read_bytes(I2S_NUM_0, (char *)data, numData, portMAX_DELAY);
^~~~~~~~~~~~~~
C:\Users\faizm\Downloads\ESP32-ChatGPT-V2-main (1)\ESP32-ChatGPT-V2-main\ESP32_Speech_to_Text\I2S.cpp:57:10: note: suggested alternative: 'pgm_read_byte'
return i2s_read_bytes(I2S_NUM_0, (char *)data, numData, portMAX_DELAY);
^~~~~~~~~~~~~~
pgm_read_byte

      exit status 1

Compilation error: 'i2s_read_bytes' was not declared in this scope

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions