Skip to content

'Serial' was not declared in this scope #18

@h-Naima-s

Description

@h-Naima-s

Getting the following error message when uploading this code on arduino:

sketch\MLX90640_I2C_Driver.cpp: In function 'int MLX90640_I2CRead(uint8_t, unsigned int, unsigned int, uint16_t*)':

MLX90640_I2C_Driver.cpp:48:7: error: 'Serial' was not declared in this scope

   Serial.println("No ack read");

   ^

sketch\MLX90640_I2C_Driver.cpp: In function 'int MLX90640_I2CWrite(uint8_t, unsigned int, uint16_t)':

MLX90640_I2C_Driver.cpp:95:5: error: 'Serial' was not declared in this scope

 Serial.println("Error: Sensor did not ack");

 ^

exit status 1
'Serial' was not declared in this scope

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