This file contains hidden or 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
// IEEEDay2018LED.ino | |
/* IEEE UOIT Student Branch IEEE Day workshop 2018 */ | |
// Define the PWM pin connections -- these LEDs will connect... | |
// ...to the PWM connections of the Arduino with 220 Ohm resistors | |
int LED1 = 3; | |
int LED2 = 6; | |
int LED3 = 9; | |
// Declare variables |
This file contains hidden or 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
//Parametric razor case, designed to fit into an Altoids tin. | |
//Open with http://www.openscad.org | |
//NOTE: This is a .scad file, but named as .c for syntax highlighting. Please rename it! | |
//Preview: http://i.imgur.com/j33iiu2.png | |
// | |
//By MooseV2 | |
height = 20; |
This file contains hidden or 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 UIKit | |
class ViewController: UIViewController, UITableViewDataSource, UITableViewDelegate { | |
@IBOutlet var appsTableView : UITableView | |
@IBOutlet var sliderBar : UISlider | |
let tableCountRange = 2..8 //Constant: min 2, max 15 | |
var tableData = Double[]() | |
var selectedItem : Int = -1 | |