Skip to content
Snippets Groups Projects
Commit c92c25ac authored by Marwan B's avatar Marwan B
Browse files

remove redundancies again

parent 43ad668b
Branches master
No related tags found
1 merge request!3Master
This commit is part of merge request !3. Comments created here will be created in the context of that merge request.
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8"/>
<style>
.key {background-color:lightgrey;}
</style>
<title>User manual for Bluedot Darmstadt</title>
</head>
<body>
<h1>Bluedot Darmstadt</h1>
<h2>Station tuning</h2>
<h3>Automatic tuning <span class="key">&uarr;</span> / <span class="key">&darr;</span></h3>
<p>Press <span class="key">&uarr;</span> / <span class="key">&darr;</span>;
the car radio will automatically search for the next station</p>
<p>If you hold <span class="key">&uarr;</span> / <span class="key">&darr;</span>,
seek tuning will speed up in upwards or downwards direction.
</p>
<h3>Seek tuning</h3>
<table>
<tr>
<td><span class="key">&uarr;</span></td>
<td>Up</td>
</tr>
<tr>
<td><span class="key">&darr;</span></td>
<td>Down</td>
</tr>
<tr>
<td><span class="key">&lt;&lt;</span></td>
<td>Down in short intervals</td>
</tr>
<tr>
<td><span class="key">&gt;&gt;</span></td>
<td>Up in short intervals</td>
</tr>
</table>
<h3>Manual tuning with <span class="key">&lt;&lt;</span> or <span class="key">&gt;&gt;</span></h3>
<p>Press <span class="key">&lt;&lt;</span> or <span class="key">&gt;&gt;</span>,
the frequency will change in short intervals downwards or upwards.
</p>
<p>
If you hold <span class="key">&lt;&lt;</span> or <span class="key">&gt;&gt;</span> down,
the frequency scan will accelerate.
</p>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<style>
.key {background-color:lightgrey;}
</style>
<title>User manual for Bluedot Dieburg</title>
</head>
<body>
<h1>Bluedot Dieburg</h1>
<h2>Tuning into a station</h2>
<p>There are various ways of tuning into a station.</p>
<h3>Automatic station seek tuning</h3>
<p>Press the <span class="key">&uarr;</span> or <span class="key">&darr;</span> button.</p>
<p>The radio tunes into the next receiavable station</p>
<h3>Tuning into stations manually</h3>
<p>You can also tune into stations manually.</p>
<p>Press the <span class="key">&larr;</span> or <span class="key">&rarr;</span> button.</p>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8"/>
<style>
.key {background-color:lightgrey;}
</style>
<title>User manual for Bluedot Griesheim</title>
</head>
<body>
<h1>Bluedot Griesheim</h1>
<h2>Selecting a station</h2>
<p>The display will indicate the station name or, if no data is received, the frequency of the station currently playing.</p>
<p>There are several different ways of selecting a station:</p>
<h3>...by station search or manually</h3>
<h4>Start the station search function by pressing</h4>
<p><span class="key">&uarr;</span> (up) or <span class="key">&darr;</span> (down).</p>
<p>The station search will stop at the next station within reception range.
If you hold down <span class="key">&uarr;</span> or <span class="key">&darr;</span>,
the station search will run forwards or backwards quickly.
</p>
<h4>Start the manual search</h4>
<p>by pressing <span class="key">&lt;&lt;</span> or <span class="key">&gt;&gt;</span>,
the frequency will move up or down in increments.
</p>
<p>
If you hold <span class="key">&lt;&lt;</span> or <span class="key">&gt;&gt;</span> down,
then the frequency will run through quickly.
</p>
</body>
</html>
#!/bin/sh
#clear
# param1 is target, param2 is output-file
NoOfParams="0"
if [ $1 ]; then
NoOfParams="1"
fi
if [ $2 ]; then
NoOfParams="2"
fi
if [ $3 ]; then
NoOfParams="3"
fi
if [ ! -d "./oneFitsAll/" ]; then
mkdir -p ./oneFitsAll/translation
fi
case $NoOfParams in
1)
gcc -E -P -Wall -D $1 oneForAll.cpp
;;
2) # first param sets the config file to be used
gcc -E -P -Wall -D config=config/$1.cpp -o ./oneFitsAll/$2 true_one_fits_all.cpp
;;
3)
gcc -E -P -Wall -D $1 -D $2 -o ./oneFitsAll/translation/$3 oneForAll_include.cpp
;;
*)
echo "No Radio specified. Try again!"
echo "1st parameter specifies radio (e.g. DARMSTADT)"
echo "2nd parameter specifies filename for output (e.g. Darmstadt.html)"
;;
esac
\ No newline at end of file
#define make_string(s) str(s)
#define str(s) #s
#ifdef config
#include make_string(config)
#endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment