private static Packet BlackfinDemo() { var files = new List<TextFile> { new TextFile('A') { {"<speed 5/>IF YOU WANT YOUR STAPLER BRING <speed 1/>ONE. MILLION. DOLLARS.<speed 5/> TO THE TORCH AT MIDNIGHT", DisplayMode.Rotate}, }, new TextFile('B') { SpecialGraphic.DontDrinkAndDrive }, new TextFile('E') { {"THE WEATHER IS WARM WITH A CHANCE OF RAIN..."}, }, new TextFile('C') { {"WELCOME TO BLACKFIN<line/>NOW 100% MORE", DisplayMode.Scroll}, {"<wide>XTREME</wide>", SpecialMode.Sparkle} }, new TextFile('D') {"<speed 1/><time/>"} }; var packet = new Packet(); packet.SetMemory(files); packet.WriteText(files); return packet; }
private static Packet DemoWriteTextCommands() { var packet = new Packet(); var files = new List<TextFile> { DemoDisplayModes(), DemoSpecialModes(), DemoFormatting() }; files.AddRange(DemoGraphics()); packet.SetMemory(files); packet.WriteText(files); return packet; }