Skip to content

compile error with IDE 1.8.19 for MKRZERO warning: 'B00000000' is deprecated: use 0b00000000 instead #1

@adewdney

Description

@adewdney

I would like to use the <MCP4251.h> library for a project using Arduino: 1.8.19 (Windows 10) and an "Arduino MKRZERO" for simulating NTC temperature sensors, using the 100kOhm version. However, when I try and compile the basic example provided, I get a large number of errors, such as:
..\Arduino\libraries\MCP4251\src\MCP4251.cpp:49:20: warning: 'B00000000' is deprecated: use 0b00000000 instead [-Wdeprecated-declarations]

 byte cmdByte = B00000000;

see attachment for complete list.
MCP4251_compile_errors.txt

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