Skip to content

Instantly share code, notes, and snippets.

View timleg002's full-sized avatar
🏠
Working from home

Timotej Leginus timleg002

🏠
Working from home
View GitHub Profile
@JosephGregg
JosephGregg / arduino_pan_tilt.ino
Created November 12, 2017 03:19
YT-260 Pan/Tilt hack
const byte numChars = 32;
char receivedChars[numChars]; // an array to store the received data
boolean newData = false;
int dataNumber = 0; // new for this version
void setup() {
pinMode(5, OUTPUT);
pinMode(4, OUTPUT);
@alexisakers
alexisakers / CFArray+Sequence.swift
Created December 22, 2016 18:59
Extension on the CFArray type to make it conform to Sequence
/*
* CFArray+Sequence.swift
* Alexis Aubry Radanovic
*/
import Foundation
import CoreFoundation
extension CFArray: Sequence {