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.
Classe_1.cpp
- Committer:
- softris
- Date:
- 2016-04-04
- Revision:
- 0:6e688c52e0cc
- Child:
- 1:ea27eae94ab2
File content as of revision 0:6e688c52e0cc:
#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 ;