mixly / Mixly_Arduino

A visual programming editor based on blockly for Arduino、Microbit、MicroPython、Python
http://mixly.org/
Apache License 2.0
244 stars 106 forks source link

希望能增加“I2C从机读取“的相对应的模块 #20

Closed human890209 closed 4 years ago

human890209 commented 4 years ago

希望增加I2C从机读取时的功能,需要增加的有: 1、增加I2C从机读取的模块,类似现在已有的I2C从机接收模块。 2、增加不带Wire.beginTransmission(address);和Wire.endTransmission();的单独的Wire.write(数据);的模块用在读取执行阶段。 3、增加Wire.write(数组,项数)的模块用在读取执行阶段。

我最近才开始使用Mixly,所以要自己加模块还不太会。希望官方能够增加,完善I2C从机部分的功能。目前看起来Mixly I2C从机这块做的比Mind+好,所以希望您能再接再厉。

human890209 commented 4 years ago

我自己添加好了,抱歉我不会用Git,我就附上修改过的文件,您可以搜索YANG来快速查询我修改的部分,我保留了原先的所有代码。 YANG updated files 20191023.zip

human890209 commented 4 years ago

我给创建的List(Array)添加了volatile 关键字。 YANG add volatile list for (10.17) 20191023.zip

human890209 commented 4 years ago

我重新整理了更新文档,方便您合并。