Skip to content

Instantly share code, notes, and snippets.

Christopher Hindefjord ChrisHinde

Block or report user

Report or block ChrisHinde

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@ChrisHinde
ChrisHinde / pubkey_ChristopherHindefjord.key
Created Sep 22, 2019
PGP Publik Key for Christopher Hindefjord (chris@hindefjord.se)
View pubkey_ChristopherHindefjord.key
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQINBFRK3tQBEADRcphlx6ymWLiPTk69BLU90wOiOqLMCK45G3Xiwli3NsZEjTmR
dcSudckKHmuCdhUO5UN9g/jdP1XUQkg6QeK8IUeHJQf46JPb1eOrTNccFOKEbZm9
IBbdHrhSGLJ3JMiVdu9+Dmp2OBWcgF4N8BqyNUstwhCg286JlOOoqqAlnWWlKwP/
WuRUvambBiwK7qU6zLHZ8NaUGC4dZ4CZ1yCdGpea9wrFo52wgdp7Aa4xdMC51fN7
Eca5zDfr39h8vu2tyc4dDI5uUP7X6569mQmjDAxJXKA20AsZVgweFpGU7v1a3/tM
YV3YynUJKjWTcNrIYVJLjL3DHB2qv6EgpPzRP9oesSywmo2I78qffM9LCWxNhido
P6e3gFwpuxjF8rUQc5mzU+kaS/fbgzAC4IZBgSAUO5vseo7tb5MHfZ9kX8ivQuG5
KtZn4lOaml1cd2J725WA85YPpOQ3b2b3W/LAvWx65sStU2VGZNJgFN0l7cma/c5V
View G-Code FF Finder for Cura.txt
START G-CODE
(Copy the text between the ---'s and paste into "Start G-code" in the settings for the printer in Cura)
---
;start gcode
M118 X48.17 Y45.44 Z90.01 T0
M140 S0 T0
M104 S0 T1
@ChrisHinde
ChrisHinde / rgb_pwm.lua
Last active Aug 27, 2016
Functions to setup and control RGB LEDs/strips with Lua on NodeMCU
View rgb_pwm.lua
--[[ rgb_pwm.lua
Created by Christopher Hindefjord (ChrisHinde / chris@hindefjord.se)
CC-0 > No copyright claimed - You are free to use these snippets however, wherever, you like
These are support functions (and settings( set the PWM (Pulse Width Modulation) output to "control" standard RGB LEDs or Strips
This will not work if you have NeoPixel style LEDs (like WS2812), they requrie a different setup!
]]--
-- Configuration for the PWM/RGB output
-- If your RGB LED/strip is common anode (There's one positive lead and three negative [cathodes], which is common)
@ChrisHinde
ChrisHinde / color_fade.lua
Last active Aug 27, 2016
Functions to fade between colors with Lua on NodeMCU
View color_fade.lua
--[[ color_fade.lua
Created by Christopher Hindefjord (ChrisHinde / chris@hindefjord.se)
CC-0 > No copyright claimed - You are free to use these snippets
These are a couple of functions used to fade between colors with an RGB LED (or strip).
This is made for the NodeMCU with LUA interpreter (Tested with Lua5.1.4 on SDK 1.5.4.1).
The only requirments are the PWM and TMR (timer) modules
NOTE: See (and include) rgb_pwm.lua (https://gist.github.com/ChrisHinde/0b0e6eaf2efa42faa4d6757d973caf13)
View keybase.md

Keybase proof

I hereby claim:

  • I am ChrisHinde on github.
  • I am chrish (https://keybase.io/chrish) on keybase.
  • I have a public key whose fingerprint is 182B 518B 6422 C007 73C2 2394 4839 AB02 DF42 AD84

To claim this, I am signing this object:

You can’t perform that action at this time.