Exemple #1
0
	static Lcd()
    {
		if(PlatFormHelper.RunningPlatform == PlatFormHelper.Platform.EV3)
		{
			Instance = new EV3Lcd();
			((EV3Lcd)Instance).Initialize();
		}
		else
		{
			Instance = null; //Not running on a EV3
		}
    }
Exemple #2
0
 static Lcd()
 {
     if (PlatFormHelper.RunningPlatform == PlatFormHelper.Platform.EV3)
     {
         Instance = new EV3Lcd();
         ((EV3Lcd)Instance).Initialize();
     }
     else
     {
         Instance = null;         //Not running on a EV3
     }
 }