Skip to content

Value of InterruptPin is incorrect #80

@marron9999

Description

@marron9999

package org.sintef.jarduino;
public enum InterruptPin {
PIN_2_INT0((byte)2),
PIN_3_INT1((byte)3);

static {
map = new HashMap<Byte, InterruptPin>();
map.put((byte)2, InterruptPin.PIN_2_INT0);
map.put((byte)3, InterruptPin.PIN_3_INT1);
}

Value of InterruptPin is incorrect
Should use 0, 1?

JArduino.h
#define InterruptPin_PIN_2_INT0 0
#define InterruptPin_PIN_3_INT1 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions