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
license: gpl-3.0 |
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
DELTA_DIAGONAL_ROD = 288.5 | |
// Horizontal offset from middle of printer to smooth rod center. | |
DELTA_SMOOTH_ROD_OFFSET = 206.0 // mm | |
// Horizontal offset of the universal joints on the end effector. | |
// DELTA_EFFECTOR_OFFSET = 32.0 // mm | |
DELTA_EFFECTOR_OFFSET = 32.0 // mm | |
// Horizontal offset of the universal joints on the carriages. |
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
/* | |
* dwt_timer.h | |
* | |
* Created on: Jun 15, 2015 | |
* Author: kimballr | |
*/ | |
#ifndef DWT_TIMER_H_ | |
#define DWT_TIMER_H_ |
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
#!/usr/bin/env python | |
import sys | |
import math | |
import json | |
steps = 6 | |
if len(sys.argv) > 1: | |
steps = int(sys.argv[1]) | |
radius = 80.0 |
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
/* | |
HelloWorld.pde | |
"Hello World!" example code. | |
>>> Before compiling: Please remove comment from the constructor of the | |
>>> connected graphics display (see below). | |
Universal 8bit Graphics Library, http://code.google.com/p/u8glib/ |
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
/* | |
Fontname: -Firefly-Firefly New Sung-Medium-R-Normal--11-110-75-75-P-109-ISO10646-1 | |
Copyright: | |
Capital A Height: 9, '1' Height: 9 | |
Calculated Max Values w=11 h=11 x= 4 y= 6 dx=11 dy= 0 ascent=10 len=22 | |
Font Bounding box w=11 h=11 x= 0 y=-1 | |
Calculated Min Values x= 0 y=-1 dx= 0 dy= 0 | |
Pure Font ascent = 9 descent=-1 | |
X Font ascent = 9 descent=-1 | |
Max Font ascent =10 descent=-1 |
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
#ifndef CONFIGURATION_H | |
#define CONFIGURATION_H | |
// This configuration file contains the basic settings. | |
// Advanced settings can be found in Configuration_adv.h | |
// BASIC SETTINGS: select your board type, temperature sensor type, axis scaling, and endstop configuration | |
//=========================================================================== | |
//============================= DELTA Printer =============================== | |
//=========================================================================== |
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
/* | |
* ChibiOS/RT - Copyright (C) 2013 Alan Barr | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |
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
int led = 13; | |
// the setup routine runs once when you press reset: | |
void setup() { | |
// initialize the digital pin as an output. | |
pinMode(led, OUTPUT); | |
} | |
// the loop routine runs over and over again forever: | |
void loop() { |
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
from pyfirmata import Arduino, util | |
import time | |
board = Arduino('/dev/ttyACM0') | |
def move(dir,sec): | |
if dir == 'forward': | |
board.digital[6].write(1) | |
board.digital[9].write(1) | |
board.digital[10].write(1) | |
board.digital[11].write(1) |
NewerOlder