Skip to content

Instantly share code, notes, and snippets.

@bernhardberger
bernhardberger / K-Factor for Pressure Advance.g
Last active February 8, 2022 14:15
K-Factor for Pressure Advance
; adjust values to your needs
var temp_nozzle = 195
var temp_bed = 55
var nozzle_diameter = 0.6
var layer_height = 0.1618
var line_width = 0.6
var pa_start = 0
@bernhardberger
bernhardberger / teensy31-buttons-basics.ino
Created July 1, 2015 21:12
teensy 3.1 quick sketch 32 buttons no pullup
// the buttons in the gamecontroller will be in that order.
// first button in array.. button#1, second button, button#2 etc.
// if you need to skip a button set the value "-1"
const int buttonPins[] = {
11, // Button 1 | Paddle Shift Down
19, // Button 2 | Paddle Shift Up
-1, // Button 3 | ------------------
5, // Button 4 | Exit