This page contains a searchable place for knowledge about the AUG AMI DevKit and stuff related to it.
The OLED display needs to be initialized. Please make sure you add a reference to AUG.AMI.Hardware add using AUG.AMI.Hardware instantiate the OLED_SPI class The following sample will display a white cross on the screen: using System; using Microsoft.SPOT; using System.Threading; using AUG.SPOT.Hardware; namespace DisplayTest { public class Program { public static void Main() { OLED_SPI display = new OLED_SPI(true); Bitmap view = new Bitmap(480, 272); view.DrawLine(Microsoft.SPOT.Presentation.Media.Color.White, 1, 0, 0, 480, 272); view.DrawLine(Microsoft.SPOT.Presentation.Media.Color.White, 1, 0, 272, 480, 0); view.Flush(); Thread.Sleep(-1); } } }
The OLED display needs to be initialized. Please make sure you
The following sample will display a white cross on the screen:
using System; using Microsoft.SPOT; using System.Threading; using AUG.SPOT.Hardware; namespace DisplayTest { public class Program { public static void Main() { OLED_SPI display = new OLED_SPI(true); Bitmap view = new Bitmap(480, 272); view.DrawLine(Microsoft.SPOT.Presentation.Media.Color.White, 1, 0, 0, 480, 272); view.DrawLine(Microsoft.SPOT.Presentation.Media.Color.White, 1, 0, 272, 480, 0); view.Flush(); Thread.Sleep(-1); } } }