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: GlobalVariables.c
- Revision:
- 0:70e79ca6391c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/GlobalVariables.c Wed Mar 16 10:20:41 2011 +0000 @@ -0,0 +1,34 @@ +#include "header.h" +#include "mbed.h" + + +int DebugLevel; + +float Laser1DriveCurrent; //in mA +float Laser1PumpLightLevel; //in dBm +float Laser2DriveCurrent; //in mA +float Laser2PumpLightLevel; //in dBm + + + +float InputLightLevel; // in dBm +float OutputLightLevel; // in dBm +float ReflectedLightLevel; // in dBm +float PumpLightLevel1; // in dBm +float PumpLightLevel2; // in dBm +float InputLightLevelM; +float OutputLightLevelM; +float ReflectedLightLevelM; +float PumpLightLevel1M; +float PumpLightLevel2M; +float AmplifierGain; //in dB +float AmplifierPower; //in dBm +char AmplifierMode; // C = Constant Current, G = Constant Gain, P = constant output power +float PumpCurrent1; // mA +float PumpCurrent2; // mA +float CurrentSource1MAX; +float CurrentSource2MAX; + +char SerialControl; +char commandstring[16]; +char commandstringlen;