Skip to content

Arduino Ethernet needs tailored pins_arduino.h and IDE needs to us it [imported] #925

Closed
@cmaglie

Description

@cmaglie

This is Issue 925 moved from a Google Code project.
Added by 2012-05-28T19:13:29.000Z by [email protected].
Please review that bug for more context and additional comments, but update this bug.

Original labels: Type-Defect, Priority-Medium

Original description

What steps will reproduce the problem?

  1. write a script including use of LED_BUILTIN for example:
    Serial.write( "LEDBUILTIN: ");Serial.println(LED_BUILTIN);
  2. from the IDE, select Tools, board, Arduino Ethernet, compile, upload, run.

expected:LEDBUILTIN: 9
actual: LEDBUILTIN: 13

Using Arduino 1.01 on Mac OSX lion with Arduino Ehternet Board.

This is a trivial example of a much bigger problem, specifically that the Arduino Ethernet board needs a pins_arduino.h tailored for it.

Attached is a version derived from current .../variants/standard/pins_arduino.h

The IDE needs to use this version, perhaps from the .../variants/ethernet directory when the Arduino Ethernet Board is selected.

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