Add sources to TM

This commit is contained in:
Nathanaël Restori 2012-09-13 18:27:15 +02:00
parent 819ffd1f0e
commit 6e96b87462
4 changed files with 79 additions and 46 deletions

View File

@ -1,23 +1,23 @@
/* /*
Copyright (C) 2012 Nathanaël Restori Copyright (C) 2012 Nathanaël Restori
Permission is hereby granted, free of charge, to any person obtaining a copy of Permission is hereby granted, free of charge, to any person obtaining a
this software and associated documentation files (the "Software"), to deal in copy of this software and associated documentation files (the "Software"),
the Software without restriction, including without limitation the rights to to deal in the Software without restriction, including without limitation
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies the rights to use, copy, modify, merge, publish, distribute, sublicense,
of the Software, and to permit persons to whom the Software is furnished to do and/or sell copies of the Software, and to permit persons to whom the
so, subject to the following conditions: Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all The above copyright notice and this permission notice shall be included in
copies or substantial portions of the Software. all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
SOFTWARE. DEALINGS IN THE SOFTWARE.
*/ */

View File

@ -1,23 +1,23 @@
/* /*
Copyright (C) 2012 Nathanaël Restori Copyright (C) 2012 Nathanaël Restori
Permission is hereby granted, free of charge, to any person obtaining a copy of Permission is hereby granted, free of charge, to any person obtaining a
this software and associated documentation files (the "Software"), to deal in copy of this software and associated documentation files (the "Software"),
the Software without restriction, including without limitation the rights to to deal in the Software without restriction, including without limitation
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies the rights to use, copy, modify, merge, publish, distribute, sublicense,
of the Software, and to permit persons to whom the Software is furnished to do and/or sell copies of the Software, and to permit persons to whom the
so, subject to the following conditions: Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all The above copyright notice and this permission notice shall be included in
copies or substantial portions of the Software. all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
SOFTWARE. DEALINGS IN THE SOFTWARE.
*/ */

View File

@ -50,13 +50,6 @@
text-align: center; text-align: center;
} }
#home ul#links li {
font-weight: bold;
margin: 0;
padding: 0.8em;
text-align: center;
}
#footer { #footer {
background: #000; background: #000;
color: #888; color: #888;

View File

@ -36,6 +36,7 @@
numbers=left, numbers=left,
numberstyle=\tiny\color{gray}, numberstyle=\tiny\color{gray},
numbersep=7pt, numbersep=7pt,
breaklines=true,
} }
\begin{document} \begin{document}
@ -156,25 +157,64 @@ J'ai vite été confronté a quelque limitations : la mémoire de l'Arduino ne p
/* /*
Copyright (C) <year> <copyright holders> Copyright (C) <year> <copyright holders>
Permission is hereby granted, free of charge, to any person obtaining a copy of Permission is hereby granted, free of charge, to any person obtaining a
this software and associated documentation files (the "Software"), to deal in copy of this software and associated documentation files (the "Software"),
the Software without restriction, including without limitation the rights to to deal in the Software without restriction, including without limitation
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies the rights to use, copy, modify, merge, publish, distribute, sublicense,
of the Software, and to permit persons to whom the Software is furnished to do and/or sell copies of the Software, and to permit persons to whom the
so, subject to the following conditions: Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all The above copyright notice and this permission notice shall be included in
copies or substantial portions of the Software. all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
SOFTWARE. DEALINGS IN THE SOFTWARE.
*/ */
\end{lstlisting} \end{lstlisting}
\chapter{sensors.json}
\begin{lstlisting}
{
"sensors":[
{
"data":"17:56:0 13/9/2012"
},
{
"data":21.50
},
{
"data":94298
},
{
"data":602.11
},
{
"data":38.30
},
{
"data":30
}
]
}
\end{lstlisting}
\chapter{index.html}
\lstinputlisting[language=HTML]{../arduino/WeatherStationWeb/index.html}
\chapter{WeatherStationWeb.ino}
\lstinputlisting{../arduino/WeatherStationWeb/WeatherStationWeb.ino}
\chapter{WeatherStationLogger.ino}
\lstinputlisting{../arduino/WeatherStationLogger/WeatherStationLogger.ino}
\end{document} \end{document}