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
[stepper_x] | |
step_pin: PB13 | |
dir_pin: !PB12 | |
enable_pin: !PB14 | |
microsteps: 16 | |
rotation_distance: 40 | |
endstop_pin: ^PC0 | |
position_endstop: -3.0 | |
position_min: -5.0 |
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
{ | |
"calendarweek_calc": { | |
"October": { | |
"week1": [2, 3, 4, 5, 6, 30, 31], | |
"week2": [9, 10, 11, 12, 13], | |
"week3": [16, 17, 18, 19, 20], | |
"week4": [23, 24, 25, 26, 27] | |
}, | |
"November": { | |
"week1": [1, 2, 3, 27, 28, 29, 30], |
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
{ | |
"calendarweek_calc": { | |
"October": { | |
"week1": [2, 3, 4, 5, 6, 30, 31], | |
"week2": [9, 10, 11, 12, 13], | |
"week3": [16, 17, 18, 19, 20], | |
"week4": [23, 24, 25, 26, 27] | |
}, | |
"November": { | |
"week1": [1, 2, 3, 27, 28, 29, 30], |
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
#!/usr/bin/python2 | |
# MIT License. | |
# Copyright (c) 2016 William Skellenger | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining a | |
# copy of this software and associated documentation files (the "Software"), | |
# to deal in the Software without restriction, including without limitation | |
# the rights to use, copy, modify, merge, publish, distribute, sublicense, |
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
import time | |
import pigpio | |
import vw | |
RX= 13 | |
BPS=2000 | |
pi = pigpio.pi() # Connect to local Pi. |
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
pi@raspberrypi ~/Projects/vwire_python $ python | |
Python 2.7.3 (default, Mar 18 2014, 05:13:23) | |
[GCC 4.6.3] on linux2 | |
Type "help", "copyright", "credits" or "license" for more information. | |
>>> import vw | |
>>> import pigpio | |
>>> RX = 13 | |
>>> BPS=2000 | |
>>> pi = pigpio.pi() | |
>>> rx = vw.rx(pi, RX, BPS) |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<style-scheme version="1.0" name="Zenburn"> | |
<style name="AddedLine" foreground="#708c80" background="#313c36" bold="true"/> | |
<style name="Binding" foreground="#800000"/> | |
<style name="Comment" foreground="#7f9f7f"/> | |
<style name="CurrentLine" foreground="#dcdccc" background="#262626"/> | |
<style name="CurrentLineNumber" foreground="#9fafaf" bold="true"/> | |
<style name="DiffFile" foreground="#ecbcbc" background="#41363c" bold="true"/> | |
<style name="DiffLocation" foreground="#80d4aa" background="#2f2f2f" bold="true"/> | |
<style name="DisabledCode" background="#555555" bold="true"/> |