Skip to content

solution: arduino-1.8.1 and problem with delayMicroseconds #3

@ivanpiffer

Description

@ivanpiffer

to avoid the error "OneWire.cpp:122:23: error: 'delayMicroseconds' was not declared in this scope"
add the line
#include "Arduino.h" to OneWire.cpp

the result is:
"#include "OneWire.h"
#include <Wire.h>
//#include "Arduino.h"

// Constructor with no parameters for compatability with OneWire lib
OneWire::OneWire()"... ecc

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