CMD_RY = 4,
CMD_DELAY = 5,
};
-#define PAR_MODE8 (1 << 4)
+#define PAR_MODE8 (1 << 4) /* but still drives noth LWR and UWR */
#define PAR_DEV_ID (1 << 5)
#define PAR_SINGE (1 << 6)
#define PAR_INC (1 << 7)
return f;
}
-static const char *portname = "/dev/cu.usbserial-AL0254JM";
+static const char *portname =
+#ifdef __APPLE__
+ "/dev/cu.usbserial-AL0254JM";
+#else
+ "/dev/ttyUSB0";
+#endif
static void usage(const char *argv0)
{