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
#!/usr/bin/python | |
import time | |
import math | |
import smbus | |
# ============================================================================ | |
# PCA9685 16-Channel PWM Servo Driver | |
# ============================================================================ |
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 | |
# Add the Google Coral Edge TPU repository to the system's source list | |
# This repository contains packages specifically for the Coral Edge TPU | |
echo "deb https://packages.cloud.google.com/apt coral-edgetpu-stable main" | sudo tee /etc/apt/sources.list.d/coral-edgetpu.list | |
# Download and add the Google GPG key to the system | |
# This key is used to ensure the integrity and authenticity of the packages | |
curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add - |
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
#ONLY RUN ONCE | |
#RUN WITH SUDO | |
SSID=YOUR_NETWORK_NAME | |
PASS=YOUR_PASSWORD | |
wpa_cli add_network | |
sudo wpa_cli set_network 1 ssid '"$SSID"' | |
wpa_cli set_network 1 psk '"$PASS"' |
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
#!/usr/bin/env python3 | |
# Copyright (c) 2014, Jelmer Tiete <jelmer@tiete.be>. | |
# All rights reserved. | |
# | |
# Redistribution and use in source and binary forms, with or without | |
# modification, are permitted provided that the following conditions | |
# are met: | |
# 1. Redistributions of source code must retain the above copyright | |
# notice, this list of conditions and the following disclaimer. |
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
//ECET2700 Paralax Keyfob Decoder - Interrupt Driven | |
//Meant for Arduino Xplained Mini but portable to any Arduino or derivative | |
//Andrei Aldea 2/25/2019 | |
#define buttonReadDelay 200 //200 milliseconds we give the fob between when we want to read and when VT interrupt goes high | |
void setup() | |
{ | |
DDRC = 0x00; //SET Register C to INPUTS | |
DDRD = 0xFF; //Outputs, Bottom Two bits are Serial, 3rd bit is Interrupt |
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
/********************************************************* | |
Arduino Due Royal Game of Ur. | |
This version is meant to interface with LabView (or other serial device) | |
Code Heavily modified to run with Arduino Due, might still be compatible with | |
other AVR micros though. Who knows. Too much weirdness going on here. | |
Command List: | |
?IDN: - Identify Device | |
!HCF: - Halt & Catch Fire |
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
/*************************************************** | |
EEV See N' Say++ | |
Andrei Aldea | |
January 2019 | |
Uses DFPlayer - A Mini MP3 Player For Arduino from <https://www.dfrobot.com/index.php?route=product/product&product_id=1121> | |
Uses Library by Angelo Qiao for said device. | |
Made to run on an Arduino Nano/Uno or other compatibles | |
***************************************************/ |
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
/* | |
Nixie Clock Code by Andrei Aldea | |
Adapted for use with HV5530 Nixie Driver boards by Johnny Izzard | |
And the Sodaq_DS3231 library by Sodaq Moja | |
*/ | |
#include <SPI.h> | |
#include <Wire.h> | |
#include "Sodaq_DS3231.h" | |
char weekDay[][4] = {"Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" }; | |
#define LD 10 |
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
/* | |
Nixie Clock Code by Andrei Aldea | |
Adapted for use with HV5530 Nixie Driver boards by Johnny Izzard | |
And the Sodaq_DS3231 library by Sodaq Moja | |
*/ | |
#include <SPI.h> | |
#include <Wire.h> | |
#include "Sodaq_DS3231.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
local html = @"<!doctype html> | |
<html lang=""en""> | |
<head> | |
<meta charset=""utf-8"" /> | |
<meta name=""viewport"" content=""width=device-width, initial-scale=1.0""> | |
<title>Pan/Tilt Control</title> | |
<link rel=""stylesheet"" href=""https://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css"" /> | |
<link rel=""stylesheet"" href=""//d2c5utp5fpfikz.cloudfront.net/2_3_1/css/bootstrap.min.css"" > | |
<link rel=""stylesheet"" href=""//d2c5utp5fpfikz.cloudfront.net/2_3_1/css/bootstrap-responsive.min.css"" > | |
<script src=""https://code.jquery.com/jquery-1.9.1.js""></script> |
NewerOlder