1
0
mirror of https://github.com/mik3y/usb-serial-for-android synced 2025-06-07 16:06:10 +00:00

Add support for Arduino Micro

This commit is contained in:
João Costa 2016-07-08 16:29:55 +01:00
parent ccc8e8d3f0
commit 458ed446fb
2 changed files with 2 additions and 0 deletions

View File

@ -334,6 +334,7 @@ public class CdcAcmSerialDriver implements UsbSerialDriver {
UsbId.ARDUINO_MEGA_ADK, UsbId.ARDUINO_MEGA_ADK,
UsbId.ARDUINO_MEGA_ADK_R3, UsbId.ARDUINO_MEGA_ADK_R3,
UsbId.ARDUINO_LEONARDO, UsbId.ARDUINO_LEONARDO,
UsbId.ARDUINO_MICRO,
}); });
supportedDevices.put(Integer.valueOf(UsbId.VENDOR_VAN_OOIJEN_TECH), supportedDevices.put(Integer.valueOf(UsbId.VENDOR_VAN_OOIJEN_TECH),
new int[] { new int[] {

View File

@ -48,6 +48,7 @@ public final class UsbId {
public static final int ARDUINO_MEGA_ADK_R3 = 0x0044; public static final int ARDUINO_MEGA_ADK_R3 = 0x0044;
public static final int ARDUINO_SERIAL_ADAPTER_R3 = 0x0044; public static final int ARDUINO_SERIAL_ADAPTER_R3 = 0x0044;
public static final int ARDUINO_LEONARDO = 0x8036; public static final int ARDUINO_LEONARDO = 0x8036;
public static final int ARDUINO_MICRO = 0x8037;
public static final int VENDOR_VAN_OOIJEN_TECH = 0x16c0; public static final int VENDOR_VAN_OOIJEN_TECH = 0x16c0;
public static final int VAN_OOIJEN_TECH_TEENSYDUINO_SERIAL = 0x0483; public static final int VAN_OOIJEN_TECH_TEENSYDUINO_SERIAL = 0x0483;