Re: Autosampler zu Repstrap umbauen January 03, 2011 03:39PM |
Registered: 14 years ago Posts: 7,505 |
Aller Anfang war schwer - Wolfstrap | Reprap-fab.org |
Re: Autosampler zu Repstrap umbauen January 04, 2011 08:25AM |
Registered: 13 years ago Posts: 50 |
Re: Autosampler zu Repstrap umbauen January 04, 2011 08:34AM |
Registered: 14 years ago Posts: 7,505 |
Aller Anfang war schwer - Wolfstrap | Reprap-fab.org |
Re: Autosampler zu Repstrap umbauen January 04, 2011 02:33PM |
Registered: 13 years ago Posts: 50 |
Re: Autosampler zu Repstrap umbauen January 04, 2011 03:41PM |
Registered: 14 years ago Posts: 7,505 |
Aller Anfang war schwer - Wolfstrap | Reprap-fab.org |
Re: Autosampler zu Repstrap umbauen January 05, 2011 03:34AM |
Registered: 13 years ago Posts: 50 |
//set our direction pins as well byte d = 1; #if INVERT_X_DIR == 1 if(x_direction) d = 0; #else if(!x_direction) d = 0; #endif digitalWrite(X_DIR_PIN, d);Das ist wohl der Teil, den ich ersetzen muss. Diese auskommentierten Zeilen, die hab ich noch nicht so ganz gerafft. Kommen die ins Spiel, wenn ich bei in der Configurationsdatei was ändere? Wie / Wovon werden die dann auskommentiert?
Re: Autosampler zu Repstrap umbauen January 05, 2011 04:11AM |
Registered: 14 years ago Posts: 7,505 |
Aller Anfang war schwer - Wolfstrap | Reprap-fab.org |
Re: Autosampler zu Repstrap umbauen January 05, 2011 04:25AM |
Registered: 14 years ago Posts: 3,742 |
//set our direction pins as well byte d = 1; #if INVERT_X_DIR == 1 if(x_direction) d = 0; #else if(!x_direction) d = 0; #endif digitalWrite(X_DIR_PIN, d);
if(x_direction) d = 0;
if(!x_direction) d = 0;
Re: Autosampler zu Repstrap umbauen January 05, 2011 05:09AM |
Registered: 13 years ago Posts: 7,616 |
Re: Autosampler zu Repstrap umbauen January 05, 2011 05:19AM |
Registered: 14 years ago Posts: 7,505 |
Aller Anfang war schwer - Wolfstrap | Reprap-fab.org |
Re: Autosampler zu Repstrap umbauen January 05, 2011 05:49AM |
Registered: 13 years ago Posts: 50 |
Re: Autosampler zu Repstrap umbauen January 05, 2011 05:50AM |
Registered: 13 years ago Posts: 50 |
Re: Autosampler zu Repstrap umbauen January 05, 2011 05:52AM |
Registered: 14 years ago Posts: 3,742 |
Re: Autosampler zu Repstrap umbauen January 05, 2011 05:54AM |
Registered: 14 years ago Posts: 7,505 |
Aller Anfang war schwer - Wolfstrap | Reprap-fab.org |
Re: Autosampler zu Repstrap umbauen January 05, 2011 06:41AM |
Registered: 14 years ago Posts: 3,742 |
Quote
Wolfgang
Mal mit einem anderen Browser versucht ?
Re: Autosampler zu Repstrap umbauen January 05, 2011 07:03AM |
Registered: 13 years ago Posts: 50 |
int sensorPin = A0; int sensorValue = 0; int stepsPerRev = 100; void setup() { // initialize the digital pin as an output. // Pin 13 has an LED connected on most Arduino boards: pinMode(8, OUTPUT); pinMode(9, OUTPUT); } void loop() { // delay (war für Potisteuerung vorbereitet) sensorValue = 1; // mach i Schritte nach rechts for (int i=0;iEdited 3 time(s). Last edit at 01/05/2011 07:09AM by Thias.
Re: Autosampler zu Repstrap umbauen January 05, 2011 07:17AM |
Registered: 14 years ago Posts: 3,742 |
if(d==1){ #define X_STEP_PIN (byte)8 #define X_DIR_PIN (byte)9 } else{ #define X_STEP_PIN (byte)9 #define X_DIR_PIN (byte)8 }So was geht nicht!
byte x_step_pin; byte x_dir_pin; #define X_STEP_PIN x_step_pin #define X_DIR_PIN x_dir_pin if(d==1){ X_STEP_PIN = 8; X_DIR_PIN = 9; } else{ X_STEP_PIN = 9; X_DIR_PIN = 8; }Pre-processer wird ausgefuhrt VOR kompilieren.
Re: Autosampler zu Repstrap umbauen January 05, 2011 07:28AM |
Registered: 13 years ago Posts: 50 |
Re: Autosampler zu Repstrap umbauen January 05, 2011 07:43AM |
Registered: 14 years ago Posts: 7,505 |
Aller Anfang war schwer - Wolfstrap | Reprap-fab.org |
Re: Autosampler zu Repstrap umbauen January 05, 2011 07:55AM |
Registered: 13 years ago Posts: 50 |
Re: Autosampler zu Repstrap umbauen January 05, 2011 07:56AM |
Registered: 14 years ago Posts: 7,505 |
Aller Anfang war schwer - Wolfstrap | Reprap-fab.org |
Re: Autosampler zu Repstrap umbauen January 05, 2011 02:06PM |
Registered: 13 years ago Posts: 50 |
In file included from FiveD_GCode_Interpreter.cpp:8: /hostcom.h: In member function 'void hostcom::putInit()': hostcom.h:96: error: 'Serial' was not declared in this scope /hostcom.h: In member function 'void hostcom::put(char*)': hostcom.h:97: error: 'Serial' was not declared in this scope /hostcom.h: In member function 'void hostcom::put(const float&)': hostcom.h:98: error: 'Serial' was not declared in this scope /hostcom.h: In member function 'void hostcom::put(const long int&)': hostcom.h:99: error: 'Serial' was not declared in this scope /hostcom.h: In member function 'void hostcom::put(int)': hostcom.h:100: error: 'Serial' was not declared in this scope /hostcom.h: In member function 'void hostcom::putEnd()': hostcom.h:101: error: 'Serial' was not declared in this scope /hostcom.h: In member function 'byte hostcom::gotData()': hostcom.h:102: error: 'Serial' was not declared in this scope /hostcom.h: In member function 'char hostcom::get()': hostcom.h:103: error: 'Serial' was not declared in this scope FiveD_GCode_Interpreter.cpp: In member function 'void PIDcontrol::pidCalculation(int)': pid:120: error: 'bedtemptable' was not declared in this scope pid:122: error: 'temptable' was not declared in this scopeSeltsam. An der Datei hab ich gar nichts geändert?
Re: Autosampler zu Repstrap umbauen January 05, 2011 03:31PM |
Registered: 13 years ago Posts: 50 |
Re: Autosampler zu Repstrap umbauen January 06, 2011 06:31AM |
Registered: 13 years ago Posts: 50 |
C:\Reprap>java -cp ".\reprap.jar;.\RXTXcomm.jar;.\j3dcore.jar;.\j3d-org-java3d-a ll.jar;.\j3dutils.jar;.\swing-layout-1.0.3.jar;.\vecmath.jar;." -Xmx1024M org/re prap/Main WARNING: RXTX Version mismatch Jar version = RXTX-2.2pre1 native lib Version = RXTX-2.2pre2 comms: G-code: N0 T0 *26 dequeued and sent [0,000s/-1294313658845ms] comms: GCodeWriter.waitForOK() dud response: rs 0 Serial Error: checksum mismatc h. Remote (26) not equal to local (42), line received: 0000000N0 T0 *26 [0,069s /69ms]
Re: Autosampler zu Repstrap umbauen January 06, 2011 06:45AM |
Registered: 14 years ago Posts: 7,505 |
Aller Anfang war schwer - Wolfstrap | Reprap-fab.org |
Re: Autosampler zu Repstrap umbauen January 06, 2011 10:41AM |
Registered: 13 years ago Posts: 50 |
Re: Autosampler zu Repstrap umbauen January 06, 2011 12:05PM |
Registered: 13 years ago Posts: 339 |
Re: Autosampler zu Repstrap umbauen January 06, 2011 04:03PM |
Registered: 13 years ago Posts: 50 |
Re: Autosampler zu Repstrap umbauen January 06, 2011 04:39PM |
Registered: 14 years ago Posts: 7,505 |
Aller Anfang war schwer - Wolfstrap | Reprap-fab.org |
Re: Autosampler zu Repstrap umbauen January 06, 2011 04:49PM |
Registered: 13 years ago Posts: 50 |