Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: Classe_1.cpp
- Revision:
- 0:6e688c52e0cc
- Child:
- 1:ea27eae94ab2
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Classe_1.cpp Mon Apr 04 08:19:48 2016 +0000
@@ -0,0 +1,30 @@
+
+#include "Classe_1.h"
+
+Classe_1::Classe_1 (void)
+ {
+ variable_1 = 0 ;
+ };
+
+void Classe_1::fonction_1(void)
+ {
+ variable_1++;
+ //*pOutput = 0 ;
+ //*(pAdresses->pOut) = 0 ;
+ pOutput->write(0) ;
+ }
+int Classe_1::fonction_2(void)
+ {
+ //*pOutput = 1 ;
+ //*(pAdresses->pOut) = 1 ;
+ pOutput->write(1) ;
+ return (variable_1);
+ }
+
+ void Classe_1::Set_Out ()
+ {
+ //pOutput = pOut ;
+ pOutput = pAdresses->pOut ;
+ }
+ //int variable_1 ;
+