Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am zeroflow on github.
  • I am zeroflow (https://keybase.io/zeroflow) on keybase.
  • I have a public key ASBQ2gsAyTDMVQtJD6cPTIdkrAfQWkOEqTHu3G3Qzth5mQo

To claim this, I am signing this object:

@zeroflow
zeroflow / JS console
Created April 30, 2019 16:38
Prusa Mk3S / MMU2S FW 3.7.0 pause at start of gcode
Starting dependency resolution...
packed_core.js?79f3153d:15713 ... dependency resolution done
packed_core.js?79f3153d:15995 Initial application setup done, connecting to server...
(index):8853 Initialized error tracking
packed_core.js?79f3153d:13707 Connected to the server
packed_core.js?79f3153d:15973 Finalizing application startup
packed_core.js?79f3153d:15854 Going to bind 42 view models...
packed_core.js?79f3153d:15907 Did not bind view model UsageViewModel to target #wizard_plugin_tracking since it does not exist
packed_core.js?79f3153d:15907 Did not bind view model SoftwareUpdateViewModel to target #softwareupdate_confirmation_dialog since it does not exist
packed_core.js?79f3153d:15907 Did not bind view model SoftwareUpdateViewModel to target #wizard_plugin_softwareupdate since it does not exist
@zeroflow
zeroflow / cfg-lexel_2S.h
Last active December 27, 2018 14:44
Anduril ADC fix
// Lexel 2S config options for Anduril
#include "hwdef-Lexel_2S.h"
// ../../bin/level_calc.py 1 65 7135 1 0.8 150
// ... mixed with this:
// ../../bin/level_calc.py 2 150 7135 4 0.33 150 FET 1 10 1500
#define RAMP_LENGTH 150
#define PWM1_LEVELS 1,1,2,2,3,3,4,4,5,6,7,8,9,10,12,13,14,15,17,19,20,22,24,26,29,31,34,36,39,42,45,48,51,55,59,62,66,70,75,79,84,89,93,99,104,110,115,121,127,134,140,147,154,161,168,176,184,192,200,209,217,226,236,245,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,0
#define PWM2_LEVELS 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,3,4,5,7,8,9,11,12,14,15,17,19,20,22,24,25,27,29,31,33,35,37,39,41,43,45,48,50,52,55
#include <Arduino.h>
#include <ESP8266WiFi.h>
#include <WiFiClient.h>
#include "ADS1115.h"
//#define ADS1115_SERIAL_DEBUG
#define MQTT_MAXBUFFERSIZE 250
#include "Adafruit_MQTT.h"
#include "Adafruit_MQTT_Client.h"
#include <Arduino.h>
#include <ESP8266WiFi.h>
#include <WiFiClient.h>
#include "settings.h"
#define MQTT_MAXBUFFERSIZE 250
#include "Adafruit_MQTT.h"
#include "Adafruit_MQTT_Client.h"
@zeroflow
zeroflow / octoprint.log
Created November 6, 2018 12:53
OP 1.3.9 working serial connection
2018-11-06 13:50:46,520 - octoprint.startup - INFO - ******************************************************************************
2018-11-06 13:50:46,524 - octoprint.startup - INFO - Starting OctoPrint 1.3.9
2018-11-06 13:50:46,524 - octoprint.startup - INFO - ******************************************************************************
2018-11-06 13:50:46,614 - octoprint.util.connectivity_checker - INFO - Connectivity changed from offline to online
2018-11-06 13:50:46,620 - octoprint.startup - INFO - Blacklist processing done
2018-11-06 13:50:46,698 - octoprint.plugin.core - INFO - Loading plugins from /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins, /home/pi/.octoprint/plugins and installed plugin packages...
2018-11-06 13:50:47,466 - octoprint.plugin.core - INFO - Plugin CuraEngine (<= 15.04) is disabled.
2018-11-06 13:50:50,410 - octoprint.plugin.core - INFO - Plugin Firmware Updater (0.1.0) is disabled.
2018-11-06 13:50:50,540 - octoprint.plugin.core - INFO - Plugin EEPROM Marlin Editor
2018-11-05 15:45:10,454 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2018-11-05 15:45:10,459 - octoprint.server - INFO - --- Log roll over detected ---------------------------------------------------
2018-11-05 15:45:10,460 - octoprint.server - INFO - OctoPrint 1.3.9
2018-11-05 15:45:10,464 - octoprint.plugin.core - INFO - 30 plugin(s) registered with the system:
| Action Command Prompt Support (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/action_command_prompt
| Announcement Plugin (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/announcements
| Core Wizard (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/corewizard
| !CuraEngine (<= 15.04) (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/cura
| Custom Control Editor (0.2.1) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_customControl
| Detailed Progress Plugin (0.1.4) = /home/pi/oprint/local/lib/python2.7/site-packages/octo
// BLF Q8 config options for Anduril
// the button lights up
#define USE_INDICATOR_LED
// the button is visible while main LEDs are on
#define USE_INDICATOR_LED_WHILE_RAMPING
// enable blinking indicator LED while off
#define TICK_DURING_STANDBY
#ifdef RAMP_LENGTH
/* Astrolux S43 driver layout
* ----
* Reset - PB5 |1 8| VCC
* eswitch - PB3 |2 7| PB2 - indicator led
* 1x7135 - PB4 |3 6| PB1 - none
* GND |4 5| PB0 - FET
* ----
*/
#define PWM_CHANNELS 3
@zeroflow
zeroflow / Makefile
Created September 7, 2018 22:12
Anduril Makefile
TARGETS = BLF_GT_MINI \
BLF_GT \
BLF_Q8 \
EMISAR_D1 \
EMISAR_D1S \
EMISAR_D4 \
EMISAR_D4S \
EMISAR_D4S_219c \
FF_ROT66 \
FW3A \