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.h
- Revision:
- 1:ea27eae94ab2
- Parent:
- 0:6e688c52e0cc
--- a/Classe_1.h Mon Apr 04 08:19:48 2016 +0000
+++ b/Classe_1.h Thu Apr 15 17:10:47 2021 +0000
@@ -1,31 +1,27 @@
#include "mbed.h"
#ifndef _Classe_1_
+#define _Classe_1_
typedef struct
{
- int Index ;
- DigitalOut *pOut ;
-} Adresses ;
+ float x ;
+ float y ;
+} Point ;
class Classe_1
{
public:
Classe_1(void) ;
- void fonction_1(void) ;
- int fonction_2(void) ;
- void Set_Out (void) ;
- DigitalOut *pOutput ;
-
- Adresses *pAdresses ;
-
- private:
- int variable_1 ;
-
+ void fonction_1(void) ;
+ float fonction_2(void) ;
+ int fonction_3(Point *pPoint) ;
+
+ Point point ;
};
-#define _Classe_1_
+
#endif