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
// WORKING VERSION WITH RENARD PROTOCOL USING SERIAL3 (PINS 14 TO FTDI RX AND 15 TO FTDI TX) | |
// This code was written by Victor Perez for doityourselfchristmas.com based on the code from Zparticle, Si_champion and Neil Tapp. | |
// To adapt the code to your case, just change this top section, with the #define lines. | |
// Includes the watchdog timer library | |
#include <avr/wdt.h> | |
// KG add for renard. Include the Arduino Renard library by Bill Porter | |
#include <Arduino-Renard.h> |
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
Aug 25 10:27:05 Tower root: Plex-Meta-Manager: Could not download icon https://metamanager.wiki/en/latest/_static/pmm.png | |
Aug 25 10:27:06 Tower root: Plex-Meta-Manager: Could not download icon https://metamanager.wiki/en/latest/_static/pmm.png | |
Aug 25 10:27:06 Tower root: Plex-Meta-Manager: Could not download icon https://metamanager.wiki/en/latest/_static/pmm.png | |
Aug 25 10:40:45 Tower root: Plex-Meta-Manager: Could not download icon https://metamanager.wiki/en/latest/_static/pmm.png | |
Aug 25 10:42:51 Tower root: Fix Common Problems Version 2022.08.24 | |
Aug 25 10:42:54 Tower root: Plex-Meta-Manager: Could not download icon https://metamanager.wiki/en/latest/_static/pmm.png | |
Aug 25 10:42:55 Tower root: Plex-Meta-Manager: Could not download icon https://metamanager.wiki/en/latest/_static/pmm.png | |
Aug 25 10:42:55 Tower root: Plex-Meta-Manager: Could not download icon https://metamanager.wiki/en/latest/_static/pmm.png | |
Aug 25 10:43:51 Tower root: Fix Common Problems Version 2022.08.24 | |
Aug 25 10:43:53 Tower root: Plex-Met |
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
/* | |
Name: ArchRob_Project1.ino | |
Created: 9/5/2020 12:10:28 PM | |
Author: JACOBT-DESKTOP\Jacob | |
*/ | |
#include <Servo.h> | |
#include <Stepper.h> | |
const int STEPS = 32; | |
const int StepsPerRotation = 2048; // 2048 steps to 360° of total rotation of motor |
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
#!/bin/bash -e | |
# To run: mp4_to_jpgs_frames.sh 00000123 "generated/SpaghettiJPEGS" 5 25 | |
if [ -z "$2" ]; then | |
output_dir=generated/unlabelled_jpgs | |
else | |
output_dir=$2 | |
fi |
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
function RenameFile() { | |
var form=FormApp.getActiveForm(); | |
var length=form.getResponses().length; // returns the total number of form submissions | |
//replace QUESTION NUMBER through the index of the question prompting the file upload - keep in mind that the first question has the index | |
var FILESUB = 0; //Where this is the question number starting at 0 that is the file submission. In my file it's the first question. Text description boxes don't count | |
var id=form.getResponses()[length-1].getItemResponses()[FILESUB].getResponse(); | |
// Logger.log('id = '+ id); |
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
// FastLED Setup | |
#include <FastLED.h> | |
#define NUM_LEDS 40 | |
#define DATA_PIN 5 | |
#define BUTTON_PIN 8 | |
#define MOVINGSPOT CRGB(0,0,255); | |
CRGB leds[NUM_LEDS]; | |
volatile boolean waitingForButton = true; | |
byte globalBright = 60; //The max brightness for the strip |
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
void __ISR(3) JacobIsCool_Int1(void){ | |
//Read in values | |
//A rising edge | |
//CW 1 to 2 | |
//CCW 4 to 3 | |
//A falling edge | |
//CCW 2 to 1 | |
//CW 3 to 4 | |
//Keep count between 0 and 15 | |
//Write to LEDs |
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
void ISR THINGY JacobIsCool(void) { | |
//Turn on all 4 lights | |
// wait a second | |
//Clear flag | |
} | |
main(){ | |
//Set LED Pins to OUTPUT | |
//Set the interrupt pin to input | |
/* Tell controller Interrupts can happen */ |
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 <plib.h> | |
//This is here to make timing calculations easier! | |
#pragma config FPBDIV = DIV_2 | |
//r is a Rest. The value doesn't matter, it just has to be unique (not another note) | |
#define r 3000 | |
//I added another octave of notes that they didn't give us | |
//Cs = C sharp. Eb = E flat. Everything else is normal. | |
//lowest notes |
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
/* | |
* 0 = 0 | |
* 1 = 25% forward | |
* 2 = 50% forward | |
* 3 = 75% forward | |
* 4 = 100% forward | |
* 5 = 0 back | |
* 6 = 25% back | |
* 7 = 50% back | |
* 8 = 75% back |
NewerOlder