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 <FastLED.h> | |
// HARDWARE CONFIG | |
#define DATA_PIN 7 | |
// LED SETUP | |
#define NUM_LEDS 50 | |
#define TRACKS 8 | |
#define TRACK_LENGTH 6 //floor(NUM_LEDS / TRACKS) or The number of lights in a track |
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
using UnityEngine; // for Vector3 | |
/// <summary> | |
/// A utility for finding points along a bezier curve | |
/// ref: http://en.wikipedia.org/wiki/B%C3%A9zier_curve | |
/// </summary> | |
public class Bezier | |
{ | |
/// <summary> |
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 android.content.Context; | |
import android.view.LayoutInflater; | |
import android.view.View; | |
import android.view.ViewGroup; | |
import android.widget.ArrayAdapter; | |
import java.util.ArrayList; | |
/* | |
CustomArrayAdapter - Create a list adapter with a custom layout and data type |
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
using System.Collections.Generic; | |
using System.Data; | |
using System.Data.Common; | |
namespace Utilities | |
{ | |
class DatabaseUtil | |
{ | |
public string connString { get; protected set; } |