ssh into lyra
local dimensions = 1366w 1536h
server ip lyra-win.evl.uic.edu:9002
/data/evl/processing
// This #include statement was automatically added by the Particle IDE. | |
#include "neopixel/neopixel.h" | |
#define PIXEL_PIN D0 | |
#define PIXEL_COUNT 1 | |
#define PIXEL_TYPE WS2812B | |
Adafruit_NeoPixel strip = Adafruit_NeoPixel(PIXEL_COUNT, PIXEL_PIN, PIXEL_TYPE); | |
int pastTime = 0; | |
int currentTime = 0; |
Timer sitTimer(tooLong, 60000); | |
int track1 = 6; | |
int track2 = 7; | |
int buttonPin = 0; | |
void setup() { | |
pinMode(buttonPin, INPUT_PULLDOWN); | |
pinMode(track1, OUTPUT); | |
pinMode(track2, OUTPUT); |
""" | |
Wifi Sniffer | |
""" | |
import os | |
from scapy.all import * | |
if len(sys.argv) == 2: | |
iface = str(sys.argv[1]) | |
else: |
I hereby claim:
To claim this, I am signing this object:
Servo myServo1; | |
Servo myServo2; | |
void setup(){ | |
myServo1.attach(0); | |
myServo2.attach(1); | |
myservo1.write(0); | |
myServo2.write(0); | |
} |
using UnityEngine; | |
using System.Collections; | |
public class Easy : MonoBehaviour { | |
public GameObject theObject; | |
public static EasingFunction.Ease ease = EasingFunction.Ease.EaseInOutQuad; | |
private EasingFunction.Function func = EasingFunction.GetEasingFunction(ease); | |
private float time = 0; | |
private float interval = 0; |
#include "application.h" | |
#include "HttpClient.h" | |
/** | |
* Declaring the variables. | |
*/ | |
unsigned int nextTime = 0; // Next time to contact the server | |
HttpClient http; | |
// Headers currently need to be set at init, useful for API keys etc. |
/* | |
Brett Ian Balogh | |
ARTTECH 4015 Robotics | |
Spring 2017 | |
PWM Fun | |
Solution for fading in and out | |
Using non-blocking logic. | |
*/ |
// | |
// UnityOSC - Example of usage for OSC receiver | |
// | |
// Copyright (c) 2012 Jorge Garcia Martin | |
// | |
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated | |
// documentation files (the "Software"), to deal in the Software without restriction, including without limitation | |
// the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, | |
// and to permit persons to whom the Software is furnished to do so, subject to the following conditions: | |
// |