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