JArduino icon indicating copy to clipboard operation
JArduino copied to clipboard

Value of InterruptPin is incorrect

Open marron9999 opened this issue 5 years ago • 0 comments

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

marron9999 avatar Dec 21 '18 04:12 marron9999