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
[Unit] | |
Description=FeederNet Containers | |
After=docker.service | |
Requires=docker.service | |
[Service] | |
ExecStartPre=/usr/local/bin/docker-compose down | |
ExecStart=/usr/local/bin/docker-compose up | |
ExecStop=/usr/local/bin/docker-compose down | |
WorkingDirectory=/home/pi/FeederNet |
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
#include <Audio.h> | |
#include <Wire.h> | |
#include <SPI.h> | |
#include <SD.h> | |
#include <SerialFlash.h> | |
#define BUTTON 1 | |
AudioMixer4 mixer1; // mixers to combine wav file and audio shield inputs | |
AudioMixer4 mixer2; |
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
e901 0040 9cf2 1040 00f0 1040 6805 0000 | |
1010 0000 50f5 1040 1c4b 0040 cc24 0040 | |
ffff ff3f ffff 0f40 ff7f 1040 ffff ff5f | |
f0ff ff3f 0010 0000 1ce2 0040 004a 0040 | |
4c4a 0040 0007 0060 0000 0080 e82b 0040 | |
f030 0040 a02f 0040 b71d c104 0012 0060 | |
0010 00eb 7c12 0060 12c1 d009 b1f9 a1fd | |
0129 4f38 4f21 e6ff 2a23 4b3f 0c44 01e6 | |
ffc0 0000 8c52 0c12 8607 0000 0021 e1ff | |
290f 280f 2802 292f 280f 2812 293f 381f |
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
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev | |
update_config=1 | |
country=US | |
network={ | |
ssid="YOURSSID" | |
psk="YOURPASSWORD" | |
scan_ssid=1 | |
} |
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
int tiltX = 9; | |
int tiltZ = 12; | |
int tiltY = 6; | |
void setup() { | |
// put your setup code here, to run once: | |
pinMode(13, OUTPUT); | |
digitalWrite(13, 0); | |
pinMode(tiltZ, INPUT_PULLUP); | |
pinMode(10, OUTPUT); |
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
int led1 = 10; | |
int led2 = 9; | |
int cap1_threshold = 2; | |
int cap2_threshold = 2; | |
void setup() { | |
pinMode(led1, OUTPUT); | |
pinMode(led2, OUTPUT); | |
Serial.begin(115200); |
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
/**************************************************************************************************** | |
* rfiduino.h - RFIDuino Library Header File | |
* RFID transfer code modified from RFIDuino Library by TrossenRobotics / RobotGeek | |
* | |
****************************************************************************************************/ | |
#include "Arduino.h" | |
#include "naturewatch_RFID.h" |
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
/********************************************************************* | |
This is a library for our Monochrome OLEDs based on SSD1306 drivers | |
Pick one up today in the adafruit shop! | |
------> http://www.adafruit.com/category/63_98 | |
These displays use SPI to communicate, 4 or 5 pins are required to | |
interface | |
Adafruit invests time and resources providing this open source code, |
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
#include <TimerOne.h> | |
// Motor 1 | |
int delayDown = 6500; | |
int delayUp = 10000; | |
int dir1PinB = 6; | |
int dir2PinB = 5; |
NewerOlder