From c6de5edab677e172580162b04ce6cd41694d730c Mon Sep 17 00:00:00 2001 From: eaman Date: Fri, 17 Mar 2017 11:48:48 +0100 Subject: [PATCH 1/1] Scaffold di base --- .gitignore | 9 +++++ README.rst | 55 ++++++++++++++++++++++++++++++ libraries/common | 1 + libraries/rover/README | 6 ++++ libraries/rover/keywords.txt | 1 + libraries/rover/library.properties | 9 +++++ libraries/rover/rover.cpp | 18 ++++++++++ libraries/rover/rover.h | 20 +++++++++++ 8 files changed, 119 insertions(+) create mode 100644 .gitignore create mode 100644 README.rst create mode 120000 libraries/common create mode 100644 libraries/rover/README create mode 100644 libraries/rover/keywords.txt create mode 100644 libraries/rover/library.properties create mode 100644 libraries/rover/rover.cpp create mode 100644 libraries/rover/rover.h diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..7370be0 --- /dev/null +++ b/.gitignore @@ -0,0 +1,9 @@ +TODO +push.sh +*.swp +*Makefile +*tags +libraries/LedControl/ +libraries/FreeRTOS/ +libraries/Adafruit_HMC5883_Unified/ +script.sh diff --git a/README.rst b/README.rst new file mode 100644 index 0000000..88e033b --- /dev/null +++ b/README.rst @@ -0,0 +1,55 @@ +Luci per Aerei con Arduino +******************************* + +Sketches e librerie per la gestione delle luci di aeromodelli RC con +microcontroller compatibili con \*arduino + + +Setup +======= + +Gli sketch utilizzano la libreria common presente nella cartella +``libraries/common/``: questa deve essere quindi inclusa tra le librerie +utilizzate. Un modo rapido per farlo e' settare nelle preferences dell'Arduino +IDE l'intero repo ``aerei_arduino`` come cartella degli sketchbook, oppure +copiare la cartella ``libraries/common`` dentro ``libraries`` dello sketchbook +attuale. + +Download +=============== + +Download tramite git: + git clone git://git.andreamanni.com/aerei + +Per aggiornare all'ultima versione:: + + cd ~/aerei + git pull + +* `Download manuale archivio `_ +* `Browse on line `_ +* `Interfaccia git Web `_ +* `Foum di Discussione `_ + +Libreria +------------ + +La sola libreria Common contenete gli oggetti base puo' essere scaricata direttamente nella vostra cartella libraries da:: + + git clone git://git.andreamanni.com/common + +* `Download manuale archivio `__ +* `Browse on line `__ +* `Interfaccia git Web `__ + + +Links +========= +Risorse utili per utilizzare Arduino: + +* Per poter programmare le schede Arduino: `Arduino IDE `_ +* Testi consigliati: https://lab.piffa.net/testi.html +* Risorse online: http://wiki.piffa.net/index.php/Guide +* Risorse di Andrea: https://lab.piffa.net/ + * Wiki: http://wiki.piffa.net/ + * Forum: https://forum.piffa.net/ diff --git a/libraries/common b/libraries/common new file mode 120000 index 0000000..638e7bd --- /dev/null +++ b/libraries/common @@ -0,0 +1 @@ +/home/eaman/uc/sketchbook_andrea/libraries/common \ No newline at end of file diff --git a/libraries/rover/README b/libraries/rover/README new file mode 100644 index 0000000..365c482 --- /dev/null +++ b/libraries/rover/README @@ -0,0 +1,6 @@ +Rover +******** + +Funzioni specifiche per la gestione dei mini rover + + diff --git a/libraries/rover/keywords.txt b/libraries/rover/keywords.txt new file mode 100644 index 0000000..591e203 --- /dev/null +++ b/libraries/rover/keywords.txt @@ -0,0 +1 @@ +toggleRead KEYWORD2 diff --git a/libraries/rover/library.properties b/libraries/rover/library.properties new file mode 100644 index 0000000..a5641e8 --- /dev/null +++ b/libraries/rover/library.properties @@ -0,0 +1,9 @@ +name=Rover +version=1.0 +author=Andrea Manni +maintainer=Andrea Manni +sentence=Funzioni specifiche per rover +paragraph=Funzioni da richiamare negli sketch per rover +category=Robots +url=https://piffa.net +architectures=* diff --git a/libraries/rover/rover.cpp b/libraries/rover/rover.cpp new file mode 100644 index 0000000..363d590 --- /dev/null +++ b/libraries/rover/rover.cpp @@ -0,0 +1,18 @@ +/* + Rover + +Autore: Andrea Manni + +Link: http://aero.piffa.net +Licenza: GPLv3 + +*/ + +#include "Arduino.h" +#include "rover.h" + +#define dEBUG + +////////////////// +// Funzioni + diff --git a/libraries/rover/rover.h b/libraries/rover/rover.h new file mode 100644 index 0000000..1fcaa5c --- /dev/null +++ b/libraries/rover/rover.h @@ -0,0 +1,20 @@ +/* + Rover + +Autore: Andrea Manni + +Link: http://rover.piffa.net +Licenza: GPLv3 + +*/ + +#include "Arduino.h" + +#ifndef rover_h +#define rover_h + +////////////////////// +// Funzioni + + +#endif -- 2.39.2