I hereby claim:
- I am boogiemobile on github.
- I am boogiemobile (https://keybase.io/boogiemobile) on keybase.
- I have a public key ASCQyQH2DsXJ63-3aos1X_FHVXRBdSDeVt1-rFKEHTk28go
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
[_NUMPD] = LAYOUT_planck_1x2uC(KC_ESC, KC_HOME, KC_UP, KC_END, KC_PERC, KC_LCBR, KC_RCBR, KC_TAB, KC_P7, KC_P8, KC_P9, KC_BSPC, // | |
KC_TILD, KC_LEFT, KC_DOWN, KC_RGHT, KC_BSLS, KC_LBRC, KC_RBRC, KC_PSLS, KC_P4, KC_P5, KC_P6, KC_PMNS, // | |
KC_LSFT, KC_SLSH, LCTL(KC_X), LCTL(KC_C), LCTL(KC_V), KC_LT, KC_GT, KC_PAST, KC_P1, KC_P2, KC_P3, KC_PPLS, // | |
TO(0), KC_LEAD, KC_LGUI, KC_LALT, KC_LCPO, KC_SPC, KC_RCPC, KC_HASH, KC_P0, KC_PDOT, KC_PENT), | |
/* | |
Numpad Layer [7] | |
* ,-----------------------------------------------------------------------------------. | |
* | Esc | Home | Up | End | % | { | } | Tab | 7 | 8 | 9 |BckSpc| | |
* |------+------+------+------+------+------+------+------+------+------+------+------| | |
* | ~ | Left | Down | Right| \ | [ | ] | / | 4 | 5 | 6 | - | |
bool encoder_update_user(uint8_t index, bool clockwise) { | |
if (index == 0) { /* First encoder */ | |
switch (biton32(layer_state)) { | |
case 0: | |
if ((get_mods() & MOD_MASK_SHIFT)) { // Shifted | |
const uint8_t _real_mods = get_mods(); | |
unregister_code16(KC_LSFT); | |
unregister_code16(KC_RSFT); | |
if (clockwise) { | |
tap_code16(KC_WH_D); |
[ | |
{ | |
"id": "37d14000.39407", | |
"type": "tab", | |
"label": "Zigbee Remotes", | |
"disabled": false, | |
"info": "" | |
}, | |
{ | |
"id": "5464db46.065df4", |
sensor: | |
- platform: bme680_bsec | |
temperature: | |
# Temperature in °C | |
name: "BME680 Temperature" | |
id: bme680_temp | |
sample_rate: lp | |
filters: | |
- median |
[gcode_macro PREP_PRINT] | |
description: Loads and starts the print | |
variable_x_max: 0 | |
variable_y_max: 0 | |
variable_z_max: 0 | |
variable_nozzle: 0 | |
variable_fila_dia: 0 | |
variable_bed_temp: 0 | |
variable_extruder_temp: 0 | |
variable_chamber_temp: 0 |
[gcode_macro BEGIN_LAYER] | |
description: Start a new layer and notify system | |
gcode: | |
#Get layer details from Slicer GCode | |
{% set CUR_LAYER = params.NUM|default(0)|float + 1 %} | |
{% set NUM_LAYERS = params.COUNT|default(0)|float %} | |
{% set LAYER_Z = params.ZLAY|default(0)|float %} | |
SET_GCODE_VARIABLE MACRO=PREP_PRINT VARIABLE=cur_layer VALUE={CUR_LAYER} |
# X axis | |
[stepper_x] | |
step_pin: PC2 | |
dir_pin: PB9 | |
enable_pin: !PC3 | |
microsteps: 16 | |
rotation_distance: 40 | |
endstop_pin: ^PA5 | |
position_min: -4 | |
position_endstop: -4 |
[delayed_gcode delayed_printer_off] | |
initial_duration: 600 | |
gcode: | |
{% if printer.idle_timeout.state == "Idle" %} | |
M117 Shutdown | |
WLED_OFF | |
POWEROFF | |
{% endif %} | |
[gcode_macro POWEROFF] |