文件名称:LEDSender.dll
文件大小:54KB
文件格式:RAR
更新时间:2013-06-13 02:53:34
LED显示屏通讯
LED显示屏的Dll申明(C#) using System; using System.Collections.Generic; using System.Text; using System.Runtime.InteropServices; namespace LEDScreen { static class ClsLED { public const int FONT_SET_16 = 0 ; //16点阵字符 public const int FONT_SET_24 = 1 ; //24点阵字符 public const int PKC_QUERY = 4; public const int PKC_ADJUST_TIME = 6; public const int PKC_GET_POWER = 9; public const int PKC_SET_POWER = 10; public const int PKC_GET_BRIGHT = 11; public const int PKC_SET_BRIGHT = 12; //public const LEDAPI _stdcall; public const int DEV_COM = 0; //串口通讯 public const int DEV_UDP = 1; //UDP通讯 public const int DEV_MODEM = 2; //Modem通讯 public const int SBR_9600 = 0; //串口速率9600 public const int SBR_14400 = 1; //14400 public const int SBR_19200 = 2; //串口速率19200 public const int SBR_38400 = 3; //串口速率38400
【文件预览】:
LEDSender.dll
LEDSender.dll.cs