登录
首页 » Windows开发 » 采用IO模拟I2C

采用IO模拟I2C

于 2022-04-17 发布 文件大小:397.43 kB
0 221
下载积分: 2 下载次数: 1

代码说明:

该代码是基于STM107VCT6,I2C采用IO模拟的方式访问EEPROM的例程。由于网上经常出现使用STM的硬件I2C,总是会出现问题,这个代码中是采用IO模拟的方式

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 简单的计算器,实现简单的常用功能,可自行添加功能
    简单的计算器,实现简单的常用功能,可自行添加功能-Simple calculator, simple commonly used functions, add their own features
    2022-03-09 18:12:50下载
    积分:1
  • 该程序主要演示如何在windows操作系统下面如何得到自己机器IP程序...
    该程序主要演示如何在windows操作系统下面如何得到自己机器IP程序-The program mainly demonstrate how to get ain machine IP address.
    2022-01-25 17:35:05下载
    积分:1
  • 对于在windows IE ActiveX控件的辅助程序
    对于在windows IE 开发ActiveX控件的辅助程序-windows in IE ActiveX support procedures
    2022-01-26 04:27:11下载
    积分:1
  • nsst图像融合
    用nsst进行图像去噪声 图像去噪完清晰可见 还可以用此代码进行两幅图像的图像融合 原来就是使用两次nsst 亲测好用 谢谢。
    2022-02-27 02:44:11下载
    积分:1
  • 一个线程池的一个类,基本使用如下:
    一个线程驰的类, 下面的是基本的使用方法 struct TSession { SOCKET socket int id } class myIocp:public CIOCP { public: void OnRead(void * p, char * buf, int len) void OnAccept(SOCKET socket) void OnClose(void * p) } void myIocp::OnAccept(SOCKET socket) { TSession *s = new TSession s->socket = socket //这里可以对连接的session进行自己的操作,例如给id找一个唯一的值 SetIoCompletionPort(socket, s) // 使连接socket与一个自定义结构体关联 } void myIocp::OnRead(void * p, char * buf, int len) { TSession *s = (TSession *)p send(s->socket, buf, len, 0) // 这里只是简单的把收到的消息返回给客户端 ... } void myIocp::OnClose(void * p) { delete p } myIoncp iocp main() { ... iocp.listen(4311) // 开始监听网络端口,等待客户端连接 ... }-A class for thread pool,basic usage below: struct TSession { SOCKET socket int id } class myIocp:public CIOCP { public: void OnRead(void* p, char* buf, int len) void OnAccept(SOCKET socket) void OnClose(void* p) } void myIocp::OnAccept(SOCKET socket) { TSession*s = new TSession s->socket = socket //here you can do something about connecti
    2022-07-17 05:14:52下载
    积分:1
  • Effective C++中文第2版,深入学习C++的好书
    Effective C++中文第2版,深入学习C++的好书-err
    2022-02-26 18:32:59下载
    积分:1
  • converts from different units of weight from metric to imperial and vica versa.
    converts from different units of weight from metric to imperial and vica versa.
    2023-07-07 11:25:02下载
    积分:1
  • vector quantizer 华盛顿大学图像实验室的
    vector quantizer 华盛顿大学图像实验室的-vector quantizer from washionton university
    2023-01-02 07:45:04下载
    积分:1
  • 一个2D地图编辑器,用于处理静态的游戏地图
    一个2D地图编辑器,用于处理静态的游戏地图-a 2D map editor, for handling static map of the game
    2022-02-04 11:57:35下载
    积分:1
  • 模板匹配
    可以实现简单的图片模板匹配。。。。。不过这个是很简单的测试程序,现在还是菜鸟,想获取点资料,希望大神们的指教,,,,,zhiwei huoqu dian jifen a 
    2022-03-18 06:39:31下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载