Bruno Allaire-Lemay / Mbed 2 deprecated APP1test

Dependencies:   mbed

Fork of APP1 by Team APP

Files at this revision

API Documentation at this revision

Comitter:
dupm2216
Date:
Wed Jan 18 02:38:05 2017 +0000
Parent:
20:3b82955f42f7
Child:
22:900ee79e774f
Commit message:
Add code header

Changed in this revision

Accelerometer.cpp Show annotated file Show diff for this revision Revisions of this file
Accelerometer.hpp Show annotated file Show diff for this revision Revisions of this file
DisplayerConstants.hpp Show annotated file Show diff for this revision Revisions of this file
HomemadeMbed.cpp Show annotated file Show diff for this revision Revisions of this file
HomemadeMbed.hpp Show annotated file Show diff for this revision Revisions of this file
SPIDisplayer.cpp Show annotated file Show diff for this revision Revisions of this file
SPIDisplayer.hpp Show annotated file Show diff for this revision Revisions of this file
TestAccelerometer.cpp Show annotated file Show diff for this revision Revisions of this file
TestAccelerometer.hpp Show annotated file Show diff for this revision Revisions of this file
TestHomemadeMbed.cpp Show annotated file Show diff for this revision Revisions of this file
TestHomemadeMbed.hpp Show annotated file Show diff for this revision Revisions of this file
TestUtility.cpp Show annotated file Show diff for this revision Revisions of this file
TestUtility.hpp Show annotated file Show diff for this revision Revisions of this file
UARTDisplayer.cpp Show annotated file Show diff for this revision Revisions of this file
UARTDisplayer.hpp Show annotated file Show diff for this revision Revisions of this file
Utility.cpp Show annotated file Show diff for this revision Revisions of this file
Utility.hpp Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/Accelerometer.cpp	Tue Jan 17 21:17:31 2017 +0000
+++ b/Accelerometer.cpp	Wed Jan 18 02:38:05 2017 +0000
@@ -1,3 +1,16 @@
+/////////////////////////////////////////////////////////////
+// APP 1: Systèmes à microprocesseurs                      //
+//                                                         //
+// Université de Sherbrooke                                //
+// Génie informatique                                      //
+// Session 5, Hiver 2017                                   //
+//                                                         //
+// Date:    17 janvier 2017                                //
+//                                                         //
+// Auteurs: Maxime Dupuis,       dupm2216                  //
+//          Bruno Allaire-Lemay, allb2701                  //
+/////////////////////////////////////////////////////////////
+
 #include "Accelerometer.hpp"
 #include "Utility.hpp"
 
--- a/Accelerometer.hpp	Tue Jan 17 21:17:31 2017 +0000
+++ b/Accelerometer.hpp	Wed Jan 18 02:38:05 2017 +0000
@@ -1,3 +1,16 @@
+/////////////////////////////////////////////////////////////
+// APP 1: Systèmes à microprocesseurs                      //
+//                                                         //
+// Université de Sherbrooke                                //
+// Génie informatique                                      //
+// Session 5, Hiver 2017                                   //
+//                                                         //
+// Date:    17 janvier 2017                                //
+//                                                         //
+// Auteurs: Maxime Dupuis,       dupm2216                  //
+//          Bruno Allaire-Lemay, allb2701                  //
+/////////////////////////////////////////////////////////////
+
 #ifndef ACCELEROMETER_HPP
 #define ACCELEROMETER_HPP
 
--- a/DisplayerConstants.hpp	Tue Jan 17 21:17:31 2017 +0000
+++ b/DisplayerConstants.hpp	Wed Jan 18 02:38:05 2017 +0000
@@ -1,3 +1,16 @@
+/////////////////////////////////////////////////////////////
+// APP 1: Systèmes à microprocesseurs                      //
+//                                                         //
+// Université de Sherbrooke                                //
+// Génie informatique                                      //
+// Session 5, Hiver 2017                                   //
+//                                                         //
+// Date:    17 janvier 2017                                //
+//                                                         //
+// Auteurs: Maxime Dupuis,       dupm2216                  //
+//          Bruno Allaire-Lemay, allb2701                  //
+/////////////////////////////////////////////////////////////
+
 #ifndef DISPLAYER_CONSTANTS_HPP
 #define DISPLAYER_CONSTANTS_HPP
 
--- a/HomemadeMbed.cpp	Tue Jan 17 21:17:31 2017 +0000
+++ b/HomemadeMbed.cpp	Wed Jan 18 02:38:05 2017 +0000
@@ -1,3 +1,16 @@
+/////////////////////////////////////////////////////////////
+// APP 1: Systèmes à microprocesseurs                      //
+//                                                         //
+// Université de Sherbrooke                                //
+// Génie informatique                                      //
+// Session 5, Hiver 2017                                   //
+//                                                         //
+// Date:    17 janvier 2017                                //
+//                                                         //
+// Auteurs: Maxime Dupuis,       dupm2216                  //
+//          Bruno Allaire-Lemay, allb2701                  //
+/////////////////////////////////////////////////////////////
+
 #include "HomemadeMbed.hpp"
 #include "Utility.hpp"
 #include <cassert>
--- a/HomemadeMbed.hpp	Tue Jan 17 21:17:31 2017 +0000
+++ b/HomemadeMbed.hpp	Wed Jan 18 02:38:05 2017 +0000
@@ -1,3 +1,16 @@
+/////////////////////////////////////////////////////////////
+// APP 1: Systèmes à microprocesseurs                      //
+//                                                         //
+// Université de Sherbrooke                                //
+// Génie informatique                                      //
+// Session 5, Hiver 2017                                   //
+//                                                         //
+// Date:    17 janvier 2017                                //
+//                                                         //
+// Auteurs: Maxime Dupuis,       dupm2216                  //
+//          Bruno Allaire-Lemay, allb2701                  //
+/////////////////////////////////////////////////////////////
+
 #ifndef HOMEMADE_MBED_HPP
 #define HOMEMADE_MBED_HPP
 
--- a/SPIDisplayer.cpp	Tue Jan 17 21:17:31 2017 +0000
+++ b/SPIDisplayer.cpp	Wed Jan 18 02:38:05 2017 +0000
@@ -1,3 +1,16 @@
+/////////////////////////////////////////////////////////////
+// APP 1: Systèmes à microprocesseurs                      //
+//                                                         //
+// Université de Sherbrooke                                //
+// Génie informatique                                      //
+// Session 5, Hiver 2017                                   //
+//                                                         //
+// Date:    17 janvier 2017                                //
+//                                                         //
+// Auteurs: Maxime Dupuis,       dupm2216                  //
+//          Bruno Allaire-Lemay, allb2701                  //
+/////////////////////////////////////////////////////////////
+
 #include "SPIDisplayer.hpp"
 
 SPIDisplayer::SPIDisplayer(PinName mosi, PinName miso, PinName sclk, PinName ssel):
--- a/SPIDisplayer.hpp	Tue Jan 17 21:17:31 2017 +0000
+++ b/SPIDisplayer.hpp	Wed Jan 18 02:38:05 2017 +0000
@@ -1,3 +1,16 @@
+/////////////////////////////////////////////////////////////
+// APP 1: Systèmes à microprocesseurs                      //
+//                                                         //
+// Université de Sherbrooke                                //
+// Génie informatique                                      //
+// Session 5, Hiver 2017                                   //
+//                                                         //
+// Date:    17 janvier 2017                                //
+//                                                         //
+// Auteurs: Maxime Dupuis,       dupm2216                  //
+//          Bruno Allaire-Lemay, allb2701                  //
+/////////////////////////////////////////////////////////////
+
 #include "mbed.h"
 #include "DisplayerConstants.hpp"
 
--- a/TestAccelerometer.cpp	Tue Jan 17 21:17:31 2017 +0000
+++ b/TestAccelerometer.cpp	Wed Jan 18 02:38:05 2017 +0000
@@ -1,3 +1,16 @@
+/////////////////////////////////////////////////////////////
+// APP 1: Systèmes à microprocesseurs                      //
+//                                                         //
+// Université de Sherbrooke                                //
+// Génie informatique                                      //
+// Session 5, Hiver 2017                                   //
+//                                                         //
+// Date:    17 janvier 2017                                //
+//                                                         //
+// Auteurs: Maxime Dupuis,       dupm2216                  //
+//          Bruno Allaire-Lemay, allb2701                  //
+/////////////////////////////////////////////////////////////
+
 #include "TestAccelerometer.hpp"
 #include "Accelerometer.hpp"
 #include "Utility.hpp"
--- a/TestAccelerometer.hpp	Tue Jan 17 21:17:31 2017 +0000
+++ b/TestAccelerometer.hpp	Wed Jan 18 02:38:05 2017 +0000
@@ -1,3 +1,16 @@
+/////////////////////////////////////////////////////////////
+// APP 1: Systèmes à microprocesseurs                      //
+//                                                         //
+// Université de Sherbrooke                                //
+// Génie informatique                                      //
+// Session 5, Hiver 2017                                   //
+//                                                         //
+// Date:    17 janvier 2017                                //
+//                                                         //
+// Auteurs: Maxime Dupuis,       dupm2216                  //
+//          Bruno Allaire-Lemay, allb2701                  //
+/////////////////////////////////////////////////////////////
+
 #ifndef TEST_ACCELEROMETER_HPP
 #define TEST_ACCELEROMETER_HPP
 
--- a/TestHomemadeMbed.cpp	Tue Jan 17 21:17:31 2017 +0000
+++ b/TestHomemadeMbed.cpp	Wed Jan 18 02:38:05 2017 +0000
@@ -1,3 +1,16 @@
+/////////////////////////////////////////////////////////////
+// APP 1: Systèmes à microprocesseurs                      //
+//                                                         //
+// Université de Sherbrooke                                //
+// Génie informatique                                      //
+// Session 5, Hiver 2017                                   //
+//                                                         //
+// Date:    17 janvier 2017                                //
+//                                                         //
+// Auteurs: Maxime Dupuis,       dupm2216                  //
+//          Bruno Allaire-Lemay, allb2701                  //
+/////////////////////////////////////////////////////////////
+
 #include "TestHomemadeMbed.hpp"
 #include "Utility.hpp"
 #include "HomemadeMbed.hpp"
--- a/TestHomemadeMbed.hpp	Tue Jan 17 21:17:31 2017 +0000
+++ b/TestHomemadeMbed.hpp	Wed Jan 18 02:38:05 2017 +0000
@@ -1,3 +1,16 @@
+/////////////////////////////////////////////////////////////
+// APP 1: Systèmes à microprocesseurs                      //
+//                                                         //
+// Université de Sherbrooke                                //
+// Génie informatique                                      //
+// Session 5, Hiver 2017                                   //
+//                                                         //
+// Date:    17 janvier 2017                                //
+//                                                         //
+// Auteurs: Maxime Dupuis,       dupm2216                  //
+//          Bruno Allaire-Lemay, allb2701                  //
+/////////////////////////////////////////////////////////////
+
 #ifndef TEST_HOMEMADE_MBED_HPP
 #define TEST_HOMEMADE_MBED_HPP
 
--- a/TestUtility.cpp	Tue Jan 17 21:17:31 2017 +0000
+++ b/TestUtility.cpp	Wed Jan 18 02:38:05 2017 +0000
@@ -1,3 +1,16 @@
+/////////////////////////////////////////////////////////////
+// APP 1: Systèmes à microprocesseurs                      //
+//                                                         //
+// Université de Sherbrooke                                //
+// Génie informatique                                      //
+// Session 5, Hiver 2017                                   //
+//                                                         //
+// Date:    17 janvier 2017                                //
+//                                                         //
+// Auteurs: Maxime Dupuis,       dupm2216                  //
+//          Bruno Allaire-Lemay, allb2701                  //
+/////////////////////////////////////////////////////////////
+
 #include "TestUtility.hpp"
 #include "Utility.hpp"
 
--- a/TestUtility.hpp	Tue Jan 17 21:17:31 2017 +0000
+++ b/TestUtility.hpp	Wed Jan 18 02:38:05 2017 +0000
@@ -1,3 +1,16 @@
+/////////////////////////////////////////////////////////////
+// APP 1: Systèmes à microprocesseurs                      //
+//                                                         //
+// Université de Sherbrooke                                //
+// Génie informatique                                      //
+// Session 5, Hiver 2017                                   //
+//                                                         //
+// Date:    17 janvier 2017                                //
+//                                                         //
+// Auteurs: Maxime Dupuis,       dupm2216                  //
+//          Bruno Allaire-Lemay, allb2701                  //
+/////////////////////////////////////////////////////////////
+
 #ifndef TEST_UTILITY_HPP
 #define TEST_UTILITY_HPP
 
--- a/UARTDisplayer.cpp	Tue Jan 17 21:17:31 2017 +0000
+++ b/UARTDisplayer.cpp	Wed Jan 18 02:38:05 2017 +0000
@@ -1,3 +1,16 @@
+/////////////////////////////////////////////////////////////
+// APP 1: Systèmes à microprocesseurs                      //
+//                                                         //
+// Université de Sherbrooke                                //
+// Génie informatique                                      //
+// Session 5, Hiver 2017                                   //
+//                                                         //
+// Date:    17 janvier 2017                                //
+//                                                         //
+// Auteurs: Maxime Dupuis,       dupm2216                  //
+//          Bruno Allaire-Lemay, allb2701                  //
+/////////////////////////////////////////////////////////////
+
 #include "UARTDisplayer.hpp"
 #include <cstdio>
 #include "Utility.hpp"
--- a/UARTDisplayer.hpp	Tue Jan 17 21:17:31 2017 +0000
+++ b/UARTDisplayer.hpp	Wed Jan 18 02:38:05 2017 +0000
@@ -1,3 +1,16 @@
+/////////////////////////////////////////////////////////////
+// APP 1: Systèmes à microprocesseurs                      //
+//                                                         //
+// Université de Sherbrooke                                //
+// Génie informatique                                      //
+// Session 5, Hiver 2017                                   //
+//                                                         //
+// Date:    17 janvier 2017                                //
+//                                                         //
+// Auteurs: Maxime Dupuis,       dupm2216                  //
+//          Bruno Allaire-Lemay, allb2701                  //
+/////////////////////////////////////////////////////////////
+
 #include <mbed.h> //PinName
 #include "DisplayerConstants.hpp"
 
--- a/Utility.cpp	Tue Jan 17 21:17:31 2017 +0000
+++ b/Utility.cpp	Wed Jan 18 02:38:05 2017 +0000
@@ -1,3 +1,16 @@
+/////////////////////////////////////////////////////////////
+// APP 1: Systèmes à microprocesseurs                      //
+//                                                         //
+// Université de Sherbrooke                                //
+// Génie informatique                                      //
+// Session 5, Hiver 2017                                   //
+//                                                         //
+// Date:    17 janvier 2017                                //
+//                                                         //
+// Auteurs: Maxime Dupuis,       dupm2216                  //
+//          Bruno Allaire-Lemay, allb2701                  //
+/////////////////////////////////////////////////////////////
+
 #include "Utility.hpp"
 #include "mbed.h"
 #include <stdlib.h>
--- a/Utility.hpp	Tue Jan 17 21:17:31 2017 +0000
+++ b/Utility.hpp	Wed Jan 18 02:38:05 2017 +0000
@@ -1,3 +1,16 @@
+/////////////////////////////////////////////////////////////
+// APP 1: Systèmes à microprocesseurs                      //
+//                                                         //
+// Université de Sherbrooke                                //
+// Génie informatique                                      //
+// Session 5, Hiver 2017                                   //
+//                                                         //
+// Date:    17 janvier 2017                                //
+//                                                         //
+// Auteurs: Maxime Dupuis,       dupm2216                  //
+//          Bruno Allaire-Lemay, allb2701                  //
+/////////////////////////////////////////////////////////////
+
 #ifndef UTILITY_HPP
 #define UTILITY_HPP
 #include <list>
--- a/main.cpp	Tue Jan 17 21:17:31 2017 +0000
+++ b/main.cpp	Wed Jan 18 02:38:05 2017 +0000
@@ -1,3 +1,16 @@
+/////////////////////////////////////////////////////////////
+// APP 1: Systèmes à microprocesseurs                      //
+//                                                         //
+// Université de Sherbrooke                                //
+// Génie informatique                                      //
+// Session 5, Hiver 2017                                   //
+//                                                         //
+// Date:    17 janvier 2017                                //
+//                                                         //
+// Auteurs: Maxime Dupuis,       dupm2216                  //
+//          Bruno Allaire-Lemay, allb2701                  //
+/////////////////////////////////////////////////////////////
+
 #include "mbed.h"
 #include "Accelerometer.hpp"
 #include "TestAccelerometer.hpp"
@@ -45,8 +58,8 @@
     accelerometer::Accelerometer accelerometer(p9, p10, 5);
     accelerometer.init();
     
-    //SPIDisplayer displayer(p5, NC, p7, p8);
-    UARTDisplayer displayer;
+    SPIDisplayer displayer(p5, NC, p7, p8);
+    //UARTDisplayer displayer;
     displayer.reset();
 
     while(true)