[No Speech, No BGM] How to Control I2C device on Windows using WCH CH341A . SSD1306 OLED
Env.
Windows 10 Pro 64bit
Visual Studio 2017 VC MFC
WCH CH341A USB to I2C bridge + SDK
SSD1306 OLED 128x64
Source Code for Visual C
http://www.neko.ne.jp/~freewing/softw...
---
Explain how to use these function
HANDLE h = CH341OpenDevice(iIndex);
ULONG dllVersion = CH341GetVersion();
b = CH341ReadI2C(iIndex, iDevice, iAddr, &oByte);
b = CH341WriteI2C(iIndex, iDevice, iAddr, iByte);
b = CH341StreamI2C(iIndex, iWriteLength, iWriteBuffer, iReadLength, oReadBuffer);
---
WCH CH341A Initialize
SSD1306 OLED Initialize
SSD1306 OLED Draw Graphic (binary pattern)
MPU-6050 6-axis GYRO / ACCEL sensor
Windowsで USB I2C Bridge WCH CH341Aを使って I2C SSD1306 OLEDの液晶モジュールを操作する方法。
Related
How to Download WCH Qinheng China cheap USB serial bridge Windows Device Driver
http://www.neko.ne.jp/~freewing/softw...
中華なシリアル変換アダプタの WCH CH340 CH341 CH9102の Windows用デバイスドライバのダウンロード方法