slave_comms.cpp

changeset 0
2c8ba1964db7
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/slave_comms.cpp	Sat Nov 07 13:23:07 2015 +0100
@@ -0,0 +1,17 @@
+
+#include "Marlin.h"
+
+#ifdef REPRAPPRO_MULTIMATERIALS
+
+float txyz[EXTRUDERS];
+char slaveBuffer[64];
+long timeout;
+
+void setup_slave()
+{
+	MYSERIAL1.begin(250000);
+	SET_OUTPUT(SLAVE_CLOCK);
+	digitalWrite(SLAVE_CLOCK, 1);
+}
+
+#endif

mercurial