Created some labels for the boxes. Finished all the timing and installation information in the header. Philips code now works well.

This commit is contained in:
foley@ru.is
2013-09-11 15:56:42 +00:00
parent d58b043913
commit f753d2005c
4 changed files with 90 additions and 10 deletions

View File

@@ -26,7 +26,9 @@ int pinLED=13; // The heartbeat LED on the board
int heartbeat=0;
int secs;
int playtime= 61*60+30; // set here ypur DVD title playtime in sec leave a little extra
// Sarcity 20:58
int playtime= 20*60+57; // Play time in seconds, you usually leave off a second or two
//int playtime= 10; // testing
IRsend irsend;
@@ -37,7 +39,8 @@ void setup() {
Serial.begin(115200);
Serial.println("Panasonic DVD DVP-3142/12 Synchronizer $Rev$");
Serial.println("For installation \"Thor\"");
Serial.println("For \"Sarcity\" by Thor Elis (1981)
");
Serial.println("Code by Joe Foley <foley@ru.is>");
Serial.println("$URL$");
Serial.println("$Id$");
@@ -130,4 +133,4 @@ void send_previous() {
// First comes the pre-data bits, then the command code
Serial.println(" previous");
irsend.sendRC6(0x10421, 20);
}
}

View File

@@ -25,8 +25,9 @@ int pinLED=13; // The heartbeat LED on the board
int secs;
int heartbeat=0;
int playtime= 25*60+40; // set here ypur DVD title playtime in sec leave a little extra
//int playtime= 10; // testing
// West 25:41
int playtime= 25*60+40; // set here your DVD title playtime in sec leave a little extra
IRsend irsend;
@@ -35,8 +36,9 @@ void setup() {
pinMode(pinLED,OUTPUT);
Serial.begin(115200);
Serial.println("Toshiba DVD SD1091EKE Synchronizer $Rev$");
Serial.println("For Steina");
Serial.println("For \"West\" by Steina Vasulka (1983)");
Serial.println("Code by Joe Foley <foley@ru.is>");
Serial.println("$URL$");
Serial.println("$Id$");

View File

@@ -21,8 +21,8 @@ int pinLED=13; // The heartbeat LED on the board
int heartbeat=0;
int secs;
int playtime= 6*60+9; // set here ypur DVD title playtime in sec leave a little extra
//int playtime= 10; // testing
// Dawn 6:09
int playtime= 6*60+8; // set here your DVD title playtime in sec leave a little extra
IRsend irsend;
@@ -32,7 +32,7 @@ void setup() {
Serial.begin(115200);
Serial.println("Toshiba DVD SD590EKE Synchronizer $Rev$");
Serial.println("For \"Dawn\" by Sigrun Hardardottir");
Serial.println("For \"Dawn\" by Sigrun Hardar on 1986");
Serial.println("Code by Joe Foley <foley@ru.is>");
Serial.println("$URL$");
Serial.println("$Id$");
@@ -123,4 +123,4 @@ void send_previous() {
// First comes the pre-data bits, then the command code
Serial.println(" previous");
irsend.sendNEC(0xA25DC43B, 32);
}
}

75
dawn/sync-labels.tex Normal file
View File

@@ -0,0 +1,75 @@
\documentclass[12pt,a4paper]{article}
\usepackage{graphicx}
\usepackage[newdimens]{labels}
\usepackage{SIunits}
\RequirePackage[T1]{fontenc}
\RequirePackage[utf8]{inputenc}
\RequirePackage[icelandic]{babel}
\LabelCols=2 %
\LabelRows=6 %
\LeftPageMargin=8mm %
\RightPageMargin=8mm %
\TopPageMargin=21mm %
\BottomPageMargin=21mm %
\InterLabelColumn=0mm %
\InterLabelRow=0mm %
\LeftLabelBorder=5mm %
\RightLabelBorder=5mm %
\TopLabelBorder=5mm %
\BottomLabelBorder=5mm %
%\LabelInfotrue % debugging the sheet
%\LabelGridtrue % for debugging an individual label box
% 2 labels for each side
\numberoflabels=2
% change the font
\newcommand{\bigfont}{
\fontencoding{T1}
\fontfamily{cmr}
\fontseries{m}
\fontshape{n}
\fontsize{17}{20}
\selectfont
}
\begin{document}
%\SetLabel{103mm}{127mm}{10.5mm}{10mm}{13mm}{2}{2}
\newcommand{\lab}[3]{%
\genericlabel{
\begin{minipage}{85mm}
{\centering\Large\bf #1}\hfill{\tiny\today}\includegraphics[height=8mm]{RU-logo}\vspace{2pt}\hrule
% \begin{minipage}{75mm}
\vspace*{0.1in}
% {\large #2}\\
{\bf #2}\\
#3
% \end{minipage}
\end{minipage}
}
}
\newcommand{\labnoru}[4]{%
\genericlabel{
\begin{minipage}{85mm}
{\centering\Large\bf #1}\hfill{\small#4}\vspace{2pt}\hrule
% \begin{minipage}{75mm}
\vspace*{0.1in}
% {\large #2}\\
{\bf #2}\\
#3
% \end{minipage}
\end{minipage}
}
}
% blanks for partial sheets
%\lab{}{}{}{}
%\lab{}{}{}{}
%\lab{}{}{}{}
%\lab{}{}{}{}
\newcommand{\syncdesigner}{Synchronizer\\by Joe Foley $<$foley@ru.is$>$ +354-661-7658}
\labnoru{Dawn (6:09)}{By Sigrún Harðar}{Toshiba SD590EKE \syncdesigner}{1986}
\labnoru{Sarcity (60:24)}{By Þor Elís}{Philips DVP3142 \syncdesigner}{1981}
\labnoru{West (25:42)}{By Steina Vasulka}{Toshiba SD1091EKE \syncdesigner}{1983}
%\input{label-input.tex}
\end{document}