随笔分类 - 我的全栈
摘要:插入图片 1 using System.IO; 2 using iTextSharp.text; 3 using iTextSharp.text.pdf; 4 5 class Program 6 { 7 static void Main(string[] args) 8 { 9 using (Str
阅读全文
摘要:#include "stdafx.h" #include <iostream> #include <windows.h> #include <comdef.h> #include <exdisp.h> #include <oledlg.h> using namespace std; // Const
阅读全文
摘要:static char* MBSCToCEF(const char* mbcsStr) { wchar_t* wideStr; char* utf8Str; int charLen; charLen = MultiByteToWideChar(CP_UTF8, 0, mbcsStr, -1, NUL
阅读全文
摘要:加入了DirectShow的基类链接库后,如果此时编译就会出现以下编译错误: strmbasd.lib(wxutil.obj) : error LNK2019: 无法解析的外部符号 __imp__timeGetTime@0 strmbasd.lib(wxutil.obj) : error LNK20
阅读全文
摘要:由于LibHaru库只能创建PDF,所以只能换了。 PODOFO项目的依赖项目有: FreeType2: https://sourceforge.net/projects/freetype/files/ 这个必须是2.8不能是2.9,要不然会报一堆的链接错误 Libjpeg: https://sou
阅读全文
摘要:最近公司准备在PDF方面发力了,我也要行动起来,就找到了LibHaru这个开源库 编译Libharu需要用到zlib库和libpng库,libpng库又依赖zlib库. zlib 下载地址:http://www.zlib.net/ libpng下载地址:http://www.libpng.org/p
阅读全文
摘要:汉王PM2.5检测模组B1,接入Arduino,使用I2C1602显示屏显示 1 #include <Arduino.h> 2 #include <Wire.h> 3 #include <LiquidCrystal_I2C.h> 4 float pm25 = 0; 5 #define DATALEN
阅读全文
摘要:https://developers.google.com/web/updates/2016/03/access-usb-devices-on-the-web Access USB Devices on the Web 访问USB设备通过Web By François Beaufort Dives
阅读全文
摘要:Develop API Guides 连接 蓝牙 本文内容 基础知识 蓝牙权限 设置蓝牙 查找设备 查询配对的设备 发现设备 连接设备 连接为服务器 连接为客户端 管理连接 使用配置文件 供应商特定的 AT 命令 健康设备配置文件 关键类 BluetoothAdapter BluetoothDevi
阅读全文
摘要:USB Host When your Android-powered device is in USB host mode, it acts as the USB host, powers the bus, and enumerates connected USB devices. USB host
阅读全文
摘要:#include <stdio.h> #include <libusb-1.0/libusb.h> #include <stdint.h> #include <string.h> void processMessage(const uint8_t*); /* */ int main(int argc
阅读全文
摘要:使用NFC读卡器 ACR122u 使用ACR122u Tool 软件发送spdu指令即可 一些运行结果 如上所示,银行卡的卡号,有效期,卡主姓名,身份证号,进期消费记录均可读出 2019-05-30增加: APDU list # + + + + + |ClaIns P1 P2|Lc Send Dat
阅读全文

浙公网安备 33010602011771号