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
/* | |
* ArcOMatic | |
* | |
* pete@rasterweb.net | |
* http://rasterweb.net/raster/ | |
* | |
*/ | |
#include <Servo.h> |
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
// RandomColor.ino | |
void setup() { | |
Serial.begin(9600); | |
randomSeed(analogRead(A0)); | |
} | |
void loop() { | |
char* rgb = returnColors(); | |
int r, g, b; |
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
/* | |
* Volt Meter Mount | |
* | |
* | |
*/ | |
mount(); | |
module mount() { |
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
# NOTE Lines must not exceed 132 characters | |
## Robot module configurations : general handling of movement G-codes and slicing into moves | |
default_feed_rate 4000 # Default rate ( mm/minute ) for G1/G2/G3 moves | |
default_seek_rate 4000 # Default rate ( mm/minute ) for G0 moves | |
mm_per_arc_segment 0.0 # Fixed length for line segments that divide arcs 0 to disable | |
mm_max_arc_error 0.01 # The maximum error for line segments that divide arcs 0 to disable | |
# note it is invalid for both the above be 0 | |
# if both are used, will use largest segment length based on radius | |
#mm_per_line_segment 5 # Lines can be cut into segments ( not usefull with cartesian | |
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/python3 | |
# external module imports | |
import RPi.GPIO | |
import time | |
# button and LED assignment | |
button = 26 | |
led = 19 |
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
#!/bin/bash | |
# | |
# This will delete JPG files more than 7 days old | |
# and video files more than 21 days old | |
# it will also delete old empty directories | |
CPATH='/mnt/TL' | |
find $CPATH/images -name "*.jpg" -type f -mtime +7 -delete |
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
/* | |
* ServoSweeps.ino | |
* | |
* Testing the BDG Digital I/O Arduino Shield | |
* | |
*/ | |
#include <Servo.h> |
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/local/bin/python3 | |
# | |
# Pete Prodoehl <pete@2xlnetworks.com> | |
# | |
# Resizes Game Boy Camera photos to 1280x1152 | |
# | |
from PIL import Image | |
import glob | |
import getopt |
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
#!/bin/sh | |
/usr/bin/find /Users/pete/Projects/ -name '*.ai' -exec cp -p \{\} /Users/pete/EXAMPLES/ \; | |
# copy just the .ai files |