/// <summary> /// Display some standard board info /// </summary> private static void DisplayBoardInfo() { // Well, clear the screen tft.ClearScreen(); // And let us know who we are tft.DrawString(10, 10, "Hello World of nanoFramework", Color565.White, Color565.Black, font); tft.DrawString(10, 40, "System . " + who, Color565.White, Color565.Black, font); tft.DrawString(10, 55, "Board . . " + what, Color565.White, Color565.Black, font); tft.DrawString(10, 70, "RTOS . . " + with, Color565.White, Color565.Black, font); tft.DrawString(10, 85, "HAL . . . " + ver, Color565.White, Color565.Black, font); // Get the used memory _used = _avail - Debug.GC(false); // Put it on screen tft.DrawString(10, 110, "Memory:", Color565.White, Color565.Black, font); tft.DrawString(25, 125, "Maximum . . " + _avail.ToString(), Color565.White, Color565.Black, font); tft.DrawString(25, 140, "Used . . . " + _used.ToString(), Color565.White, Color565.Black, font); }