A Pen by Christopher Schmitz on CodePen.
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
// ConstantSpeed.pde | |
// -*- mode: C++ -*- | |
// | |
// Shows how to run AccelStepper in the simplest, | |
// fixed speed mode with no accelerations | |
// Requires the Adafruit_Motorshield v2 library | |
// https://github.com/adafruit/Adafruit_Motor_Shield_V2_Library | |
// And AccelStepper with AFMotor support | |
// https://github.com/adafruit/AccelStepper |
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
char state[10]; | |
void setup() | |
{ | |
Serial.begin(9600); | |
} | |
void loop() | |
{ | |
Serial.println("reading bytes"); |
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
// * define all of the pins | |
// * each of these is marked as an interruptable pin on the M0 Adalogger | |
#define break_beam_ZERO 14 | |
#define break_beam_ONE 11 | |
#define break_beam_TWO 10 | |
#define break_beam_THREE 9 | |
#define break_beam_FOUR 6 | |
#define break_beam_FIVE 5 |
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
#include <Adafruit_GFX.h> | |
#include "Adafruit_LEDBackpack.h" | |
#define break_beam_ONE 11 | |
#define break_beam_TWO 10 | |
int breakBeamState_ONE = 0; | |
int breakBeamState_TWO = 0; | |
Adafruit_BicolorMatrix matrix = Adafruit_BicolorMatrix(); |
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
2018-04-28 01:22:37,689 - octoprint.server - INFO - --- Log roll over detected --------------------------------------------------- | |
2018-04-28 01:22:37,690 - octoprint.server - INFO - OctoPrint 1.3.8 | |
2018-04-28 01:22:37,693 - octoprint.plugin.core - INFO - 11 plugin(s) registered with the system: | |
| 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 | |
| Discovery (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/discovery | |
| DisplayLayerProgress Plugin (1.3.2) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_DisplayLayerProgress | |
| Logging (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/logging | |
| OctoPi Support Plugin (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/o |
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
{ | |
"editor.fontSize": 17, | |
"editor.lineHeight": 28, | |
"editor.fontFamily": "Fira Code", | |
"editor.fontLigatures": true, | |
"editor.renderIndentGuides": true, | |
"window.zoomLevel": 0, | |
"editor.quickSuggestionsDelay": 30, | |
"typescript.useCodeSnippetsOnMethodSuggest": true, | |
"git.confirmSync": false, |
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
server { | |
listen <my-server's-external-ip>:80; | |
server_name <my-custom-domain-name.whateva>; | |
location / { | |
proxy_pass http://localhost:<node-process-port>; | |
} | |
} |
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
{ | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"type": "node", | |
"request": "launch", | |
"name": "Debug Electron", | |
"program": "${workspaceRoot}/electron_base/index.js", | |
"cwd": "${workspaceRoot}", | |
"stopOnEntry": false, |
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
{ | |
"New Snippet": { | |
"prefix": "snippet", | |
"body": [ | |
"\"${1}\": {", | |
" \"prefix\": \"${2}\",", | |
" \"body\": [", | |
" ${3}", | |
" ],", | |
" \"description\": \"${0}\"", |
NewerOlder