This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// mcp4451.ino | |
// Test mcp4451 code | |
#include "utility/twi.h" | |
#include "Wire.h" | |
float max_current= 2.4; | |
float factor= 106.7; | |
float currents[8]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
arm_solution corexy # | |
# Robot module configurations : general handling of movement G-codes and slicing into moves | |
default_feed_rate 20000 # Default rate ( mm/minute ) for G1/G2/G3 moves | |
default_seek_rate 25000 # Default rate ( mm/minute ) for G0 moves | |
mm_per_arc_segment 0.5 # Arcs are cut into segments ( lines ), this is the length for these segments. Smaller values mean more resolution, higher values mean faster computation | |
mm_per_line_segment 0 # Lines can be cut into segments ( not usefull with cartesian coordinates robots ). | |
# Arm solution configuration : Cartesian robot. Translates mm positions into stepper positions | |
alpha_steps_per_mm 80 # Steps per mm for alpha stepper |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
G1 X0.000000 Y80.000000 | |
G1 X2.512861 Y79.960525 | |
G1 X5.023242 Y79.842138 | |
G1 X7.528665 Y79.644957 | |
G1 X10.026659 Y79.369176 | |
G1 X12.514757 Y79.015067 | |
G1 X14.990505 Y78.582980 | |
G1 X17.451459 Y78.073341 | |
G1 X19.895191 Y77.486653 | |
G1 X22.319288 Y76.823495 |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# gen-probe-grid.rb | |
radius= 100 | |
xg= 10 | |
yg= 10 | |
fr= 100*60 # mm/min | |
x= -radius | |
dir= true | |
(-radius..radius).step(yg) do |y| |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <algorithm> | |
#include <string> | |
#include <cstring> | |
using std::string; | |
const char* strip_parameters(char* command) | |
{ | |
// strip the command of the XYZIJ parameters | |
string newcmd; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
define heapwalk | |
set var $chunk_curr=(unsigned int)__smoothieHeapBase | |
set var $chunk_number=1 | |
while ($chunk_curr < '_sbrk::heap') | |
set var $chunk_size=*(unsigned int*)($chunk_curr+4) & ~1 | |
set var $chunk_next=$chunk_curr + $chunk_size | |
set var $chunk_inuse=*(unsigned int*)($chunk_next+4) & 1 | |
set var $chunk_tag=*(unsigned int*)$chunk_next | |
printf "Allocation: %u Address: 0x%08X Size:%u ", $chunk_number, $chunk_curr+8, $chunk_size-4 | |
if ($chunk_inuse) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
G1 X0.000000 Y124.000000 | |
G1 X7.786024 Y123.755314 | |
G1 X15.541321 Y123.022223 | |
G1 X23.235283 Y121.803619 | |
G1 X30.837546 Y120.104312 | |
G1 X38.318107 Y117.931008 | |
G1 X45.647445 Y115.292284 | |
G1 X52.796632 Y112.198555 | |
G1 X59.737456 Y108.662028 | |
G1 X66.442523 Y104.696663 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;Sliced at: Thu 25-09-2014 23:52:18 | |
;Basic settings: Layer height: 0.2 Walls: 0.5 Fill: 95 | |
;Print time: #P_TIME# | |
;Filament used: #F_AMNT#m #F_WGHT#g | |
;Filament cost: #F_COST# | |
;M190 S0 ;Uncomment to add your own bed temperature line | |
;M109 S0 ;Uncomment to add your own temperature line | |
G21 ;metric values | |
G90 ;absolute positioning | |
M82 ;set extruder to absolute mode |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; generated by Slic3r 1.1.7 on 2014-09-26 at 09:53:24 | |
; perimeters extrusion width = 0.60mm | |
; infill extrusion width = 0.60mm | |
; solid infill extrusion width = 0.60mm | |
; top infill extrusion width = 0.60mm | |
G21 ; set units to millimeters | |
M107 | |
M80 ; ps on |
OlderNewer