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
/* | |
Original code come from Adafruit GPS logger shield kit - v1.1 | |
http://www.adafruit.com/products/98 | |
http://www.ladyada.net/make/gpsshield/download.html | |
All of this example Arduino code is Public Domain. Enjoy! | |
http://en.wikipedia.org/wiki/GNU_General_Public_License | |
Modified by DWHacks for use with U-blox PCI-5S. | |
Info about U-blox PCI-5S here: http://emerythacks.blogspot.ca/2013/01/u-blox-pci-5s-cheap-gps-module-for-your.html | |
Info about DWHacks: dwhacks.blogspot.com |
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 <TinyGPS.h> | |
#include <SD.h> | |
/* This sample code demonstrates the normal use of a TinyGPS object. */ | |
TinyGPS gps; | |
/* On Teensy, the UART (real serial port) is always best to use. */ | |
/* Unlike Arduino, there's no need to use NewSoftSerial because */ | |
/* the "Serial" object uses the USB port, leaving the UART free. */ |
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
/*not working*/ | |
#include <TinyGPS.h> | |
#include <SD.h> | |
/* This sample code demonstrates the normal use of a TinyGPS object. */ | |
TinyGPS gps; | |
/* On Teensy, the UART (real serial port) is always best to use. */ |
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
/* | |
* LED Firefly by http://dwhacks.blogspot.ca/ using attiny 13a @4.8MHz | |
* inspired by http://www.seanet.com/~karllunt/fireflyLED.html | |
* using core13 for Arduino http://sourceforge.net/projects/ard-core13/ | |
*/ | |
#include <avr/sleep.h> | |
#include <avr/wdt.h> | |
#ifndef cbi |
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
/* | |
Theme Name: Twenty Fourteen | |
Theme URI: http://wordpress.org/themes/twentyfourteen | |
Author: the WordPress team | |
Author URI: http://wordpress.org/ | |
Description: In 2014, our default theme lets you create a responsive magazine website with a sleek, modern design. Feature your favorite homepage content in either a grid or a slider. Use the three widget areas to customize your website, and change your content's layout with a full-width page template and a contributor page to show off your authors. Creating a magazine website with WordPress has never been easier. | |
Version: 1.0 | |
License: GNU General Public License v2 or later | |
License URI: http://www.gnu.org/licenses/gpl-2.0.html | |
Tags: black, green, white, light, dark, two-columns, three-columns, left-sidebar, right-sidebar, fixed-layout, responsive-layout, custom-background, custom-header, custom-menu, editor-style, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready, ac |
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
-I 15 -g 1 -w 128 --thread-concurrency 6400 |
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
/*Fade Up*/ | |
for(byte i=1; i<100; i++) { | |
byte on = i; | |
byte off = 100-on; | |
for( byte a=0; a<100; a++ ) { | |
digitalWrite(led, HIGH); | |
delayMicroseconds(on); | |
digitalWrite(led, LOW); | |
delayMicroseconds(off); | |
} |
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
int redPin = 1; | |
int greenPin = 4; | |
int bluePin = 0; | |
void setup() | |
{ | |
pinMode(redPin, OUTPUT); | |
pinMode(greenPin, OUTPUT); | |
pinMode(bluePin, OUTPUT); | |
} |
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
/* | |
BLOC DROP: A strangely familiar falling block game | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
by David Randall Stokes (gamby@logicalzero.com) 9/05/2012 | |
THIS IS STILL A WORK-IN-PROGRESS. The game is playable, but | |
the scoring doesn't work correctly. | |
*/ |
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
/* | |
BLOC DROP: A strangely familiar falling block game | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
by David Randall Stokes (gamby@logicalzero.com) 9/05/2012 | |
THIS IS STILL A WORK-IN-PROGRESS. The game is playable, but | |
the scoring doesn't work correctly. | |
*/ |