arduino主机,stm8从机。I2C测试 。每次254字节

上传者: yinsua | 上传时间: 2024-01-16 15:24:10 | 文件大小: 774KB | 文件类型: ZIP
需要将arduino的wire库覆盖一下才能达到254字节每次,不然只有31字节每次。 代码亲测可用!

文件下载

资源详情

[{"title":"( 57 个子文件 774KB ) arduino主机,stm8从机。I2C测试 。每次254字节","children":[{"title":"README.txt <span style='color:#111;'> 97B </span>","children":null,"spread":false},{"title":"stm8(slave)","children":[{"title":"master","children":[{"title":"main.c <span style='color:#111;'> 2.37KB </span>","children":null,"spread":false},{"title":"master.ewd <span style='color:#111;'> 11.01KB </span>","children":null,"spread":false},{"title":"master.dep <span style='color:#111;'> 2.46KB </span>","children":null,"spread":false},{"title":"I2C","children":[{"title":"i2c.c <span style='color:#111;'> 8.43KB </span>","children":null,"spread":false},{"title":"i2c.h <span style='color:#111;'> 4.08KB </span>","children":null,"spread":false}],"spread":true},{"title":"master.eww <span style='color:#111;'> 160B </span>","children":null,"spread":false},{"title":"master.ewp <span style='color:#111;'> 42.22KB </span>","children":null,"spread":false},{"title":"settings","children":[{"title":"master.cspy.bat <span style='color:#111;'> 1.41KB </span>","children":null,"spread":false},{"title":"master.wsdt <span style='color:#111;'> 3.36KB </span>","children":null,"spread":false},{"title":"master.dni <span style='color:#111;'> 867B </span>","children":null,"spread":false},{"title":"master.dbgdt <span style='color:#111;'> 4.30KB </span>","children":null,"spread":false}],"spread":true},{"title":"Debug","children":[{"title":"List","children":null,"spread":false},{"title":"Exe","children":[{"title":"templproj.out <span style='color:#111;'> 44.34KB </span>","children":null,"spread":false}],"spread":true},{"title":"Obj","children":[{"title":"master.pbd.browse <span style='color:#111;'> 207.81KB </span>","children":null,"spread":false},{"title":"main.pbi <span style='color:#111;'> 200.96KB </span>","children":null,"spread":false},{"title":"main.pbi.cout <span style='color:#111;'> 9.77KB </span>","children":null,"spread":false},{"title":"i2c.o <span style='color:#111;'> 36.52KB </span>","children":null,"spread":false},{"title":"i2c.pbi.cout <span style='color:#111;'> 9.77KB </span>","children":null,"spread":false},{"title":"main.o <span style='color:#111;'> 14.30KB </span>","children":null,"spread":false},{"title":"master.pbd <span style='color:#111;'> 207.81KB </span>","children":null,"spread":false},{"title":"i2c.pbi <span style='color:#111;'> 205.60KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"slave","children":[{"title":"slave.eww <span style='color:#111;'> 159B </span>","children":null,"spread":false},{"title":"slave.ewd <span style='color:#111;'> 11.01KB </span>","children":null,"spread":false},{"title":"main.c <span style='color:#111;'> 2.64KB </span>","children":null,"spread":false},{"title":"slave.ewp <span style='color:#111;'> 42.23KB </span>","children":null,"spread":false},{"title":"slave.dep <span style='color:#111;'> 3.35KB </span>","children":null,"spread":false},{"title":"I2C","children":[{"title":"i2c.c <span style='color:#111;'> 4.93KB </span>","children":null,"spread":false},{"title":"i2c.h <span style='color:#111;'> 3.86KB </span>","children":null,"spread":false}],"spread":true},{"title":"settings","children":[{"title":"slave.dni <span style='color:#111;'> 868B </span>","children":null,"spread":false},{"title":"slave.wsdt <span style='color:#111;'> 3.14KB </span>","children":null,"spread":false},{"title":"slave.dbgdt <span style='color:#111;'> 4.59KB </span>","children":null,"spread":false},{"title":"slave.cspy.bat <span style='color:#111;'> 1.41KB </span>","children":null,"spread":false}],"spread":true},{"title":"Debug","children":[{"title":"List","children":null,"spread":false},{"title":"Exe","children":[{"title":"slave.hex <span style='color:#111;'> 3.49KB </span>","children":null,"spread":false},{"title":"templproj.out <span style='color:#111;'> 45.97KB </span>","children":null,"spread":false}],"spread":true},{"title":"Obj","children":[{"title":"main.pbi <span style='color:#111;'> 240.07KB </span>","children":null,"spread":false},{"title":"slave.pbd <span style='color:#111;'> 243.47KB </span>","children":null,"spread":false},{"title":"main.pbi.cout <span style='color:#111;'> 9.89KB </span>","children":null,"spread":false},{"title":"stm8s_clk.pbi.cout <span style='color:#111;'> 9.89KB </span>","children":null,"spread":false},{"title":"i2c.o <span style='color:#111;'> 22.98KB </span>","children":null,"spread":false},{"title":"i2c.pbi.cout <span style='color:#111;'> 9.89KB </span>","children":null,"spread":false},{"title":"main.o <span style='color:#111;'> 23.88KB </span>","children":null,"spread":false},{"title":"slave.pbd.browse <span style='color:#111;'> 243.47KB </span>","children":null,"spread":false},{"title":"i2c.pbi <span style='color:#111;'> 240.60KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"arduino(master)","children":[{"title":"slave","children":[{"title":"sketch_apr08b","children":[{"title":"sketch_apr08b.ino <span style='color:#111;'> 684B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"main","children":[{"title":"sketch_apr08a","children":[{"title":"sketch_apr08a.ino <span style='color:#111;'> 323B </span>","children":null,"spread":false},{"title":"sketch_apr08c","children":[{"title":"sketch_apr08c.ino <span style='color:#111;'> 334B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"Wire","children":[{"title":"Wire.h <span style='color:#111;'> 2.45KB </span>","children":null,"spread":false},{"title":"keywords.txt <span style='color:#111;'> 713B </span>","children":null,"spread":false},{"title":"examples","children":[{"title":"SFRRanger_reader","children":[{"title":"SFRRanger_reader.ino <span style='color:#111;'> 2.75KB </span>","children":null,"spread":false}],"spread":true},{"title":"master_writer","children":[{"title":"master_writer.ino <span style='color:#111;'> 648B </span>","children":null,"spread":false}],"spread":true},{"title":"master_reader","children":[{"title":"master_reader.ino <span style='color:#111;'> 735B </span>","children":null,"spread":false}],"spread":true},{"title":"slave_sender","children":[{"title":"slave_sender.ino <span style='color:#111;'> 723B </span>","children":null,"spread":false}],"spread":true},{"title":"digital_potentiometer","children":[{"title":"digital_potentiometer.ino <span style='color:#111;'> 975B </span>","children":null,"spread":false}],"spread":true},{"title":"slave_receiver","children":[{"title":"slave_receiver.ino <span style='color:#111;'> 978B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"utility","children":[{"title":"twi.c <span style='color:#111;'> 15.98KB </span>","children":null,"spread":false},{"title":"twi.h <span style='color:#111;'> 1.54KB </span>","children":null,"spread":false}],"spread":true},{"title":"Wire.cpp <span style='color:#111;'> 7.36KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明