From RepRap
Revision as of 10:20, 4 March 2014 by DavidCary (talk | contribs) (supplier part number?)
Jump to: navigation, search

I think the thermistor tables and generator script should be changed as per

A few issues: DaveX 18:22, 6 November 2012 (UTC)

I agree that r1=0 seems nonsensical. Is there a better way to indicate we're only using one resistor (R2), and there is nothing there at the position marked "R1" on the schematic? Would tweaking the Python code so it prints "r1=None" or "r1=+INF" in that situation help? --DavidCary (talk) 07:20, 4 March 2014 (PST)

num_temps patch

The code at indicates a --num-temps=... option, but it is not in the code. The following patch adds it:

-	2012-11-07 15:39:35.000000000 -0500
+++	2012-11-07 15:38:03.000000000 -0500
@@ -66,7 +66,7 @@
     num_temps = int(20);
-        opts, args = getopt.getopt(argv, "h", ["help", "r0=", "t0=", "beta=", "r1=", "r2="])
+        opts, args = getopt.getopt(argv, "h", ["help", "r0=", "t0=", "beta=", "r1=", "r2=", "num-temps="])
     except getopt.GetoptError:
@@ -85,6 +85,8 @@
             r1 = int(arg)
         elif opt == "--r2":
             r2 = int(arg)
+        elif opt == "--num-temps":
+            num_temps = int(arg)
     if r1:
         max_adc = int(1023 * r1 / (r1 + r2));
@@ -124,4 +126,4 @@
     print __doc__
 if __name__ == "__main__":
-    main(sys.argv[1:])
\ No newline at end of file
+    main(sys.argv[1:])

supplier part number

I'm thinking about deleting all the supplier part numbers from this page, keeping manufacturer part numbers.

Does anyone find the supplier part number useful? In any situation that I could possibly use the supplier part number, wouldn't the manufacturer part number work just as well? --DavidCary (talk) 07:20, 4 March 2014 (PST)