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
FROM amd64/ubuntu:20.04 | |
RUN apt-get update && apt-get install -y \ | |
wget \ | |
tar \ | |
sudo \ | |
cmake \ | |
libc6-i386 | |
RUN cd /tmp | |
RUN wget http://files.chumby.com/toolchain/arm-2008q3-72-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2 |
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
int input = 8; | |
int redPin = 12; | |
int greenPin = 11; | |
int val = 0; | |
void setup() { | |
pinMode(input, INPUT); | |
pinMode(redPin, OUTPUT); | |
pinMode(greenPin, OUTPUT); | |
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 <OneWire.h> | |
#include <DallasTemperature.h> | |
// pin setups | |
int latchPin = 8; | |
int clockPin = 12; | |
int dataPin = 11; | |
int tempPin = 7; | |
// librraries for connecting to sensor |
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
TARGET := output.dge | |
TOOLCHAIN = /opt/rs97-toolchain | |
CPP := $(TOOLCHAIN)/bin/mipsel-linux-g++ | |
STRIP = $(TOOLCHAIN)/bin/mipsel-linux-strip | |
SRC_DIR = src | |
OBJ_DIR = obj | |
BIN_DIR = bin |
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
# Please make this file available to others | |
# by sending it to <[email protected]> | |
# | |
# this config file was automatically generated | |
# using lirc-0.9.0-pre1(default) on Mon Feb 13 21:46:27 2017 | |
# | |
# contributed by | |
# | |
# brand: ghost.conf |