nanoFramework.Iot.Device.At24C128C 1.2.203
前缀已保留
dotnet add package nanoFramework.Iot.Device.At24C128C --version 1.2.203
NuGet\Install-Package nanoFramework.Iot.Device.At24C128C -Version 1.2.203
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="nanoFramework.Iot.Device.At24C128C" Version="1.2.203" />
对于支持 PackageReference 的项目,将此 XML 节点复制到项目文件中以便引用该包。
paket add nanoFramework.Iot.Device.At24C128C --version 1.2.203
NuGet 团队不提供对此客户端的支持。请联系其 维护者 以获取支持。
#r "nuget: nanoFramework.Iot.Device.At24C128C, 1.2.203"
#r 指令可用于 F# Interactive 和 Polyglot Notebooks。将其复制到交互式工具或脚本的源代码中引用包。
// Install nanoFramework.Iot.Device.At24C128C as a Cake Addin #addin nuget:?package=nanoFramework.Iot.Device.At24C128C&version=1.2.203 // Install nanoFramework.Iot.Device.At24C128C as a Cake Tool #tool nuget:?package=nanoFramework.Iot.Device.At24C128C&version=1.2.203
NuGet 团队不提供对此客户端的支持。请联系其 维护者 以获取支持。
AT24C128C - I2C EEPROM 读写
此绑定用于通过 I2C 从外部 EEPROM 存储读取和写入数据。
文档
原始代码由 BusKetZz 为 MIMXRT1060 评估板编写 [email protected]
用法
using System.Diagnostics;
using System.Text;
using System.Threading;
using Iot.Device.At24C128C;
At24C128C eeprom = new(0x50, 1);
string message = "Hello from MIMXRT1060!";
byte[] messageToSent = Encoding.UTF8.GetBytes(message);
ushort memoryAddress = 0x0;
eeprom.Write(memoryAddress, messageToSent);
Thread.Sleep(100);
byte[] receivedData = eeprom.Read(memoryAddress, message.Length);
string dataConvertedToString = System.Text.Encoding.UTF8.GetString(receivedData, 0, receivedData.Length);
Debug.WriteLine($"Message read from EEPROM: {dataConvertedToString}");
产品 | 版本 兼容和额外的计算目标框架版本。 |
---|---|
.NET Framework | net 是兼容的。 |
-
- nanoFramework.CoreLibrary (>= 1.14.2)
- nanoFramework.System.Device.I2c (>= 1.1.9)
NuGet 包
此包没有被任何 NuGet 包使用。
GitHub 仓库
此包未被任何流行的GitHub仓库使用。
版本 | 下载 | 最后更新 |
---|---|---|
1.2.203 | 339 | 12/28/2022 |
1.2.141 | 377 | 10/25/2022 |
1.2.82 | 454 | 9/14/2022 |
1.1.113.2032 | 430 | 6/23/2022 |
1.1.1 | 432 | 4/14/2022 |
1.0.300 | 414 | 3/31/2022 |
1.0.288-preview.113 | 118 | 3/25/2022 |
1.0.288-preview.99 | 120 | 3/18/2022 |
1.0.288-preview.98 | 107 | 3/18/2022 |
1.0.288-preview.93 | 109 | 3/15/2022 |
1.0.288-preview.65 | 105 | 2/18/2022 |
1.0.288-preview.48 | 125 | 2/4/2022 |
1.0.288-preview.29 | 125 | 1/28/2022 |
1.0.288-preview.20 | 125 | 1/27/2022 |
1.0.288-preview.19 | 125 | 1/27/2022 |
1.0.288-preview.1 | 119 | 1/21/2022 |
1.0.272 | 458 | 1/10/2022 |
1.0.259 | 305 | 12/9/2021 |
1.0.155 | 320 | 8/31/2021 |
1.0.135 | 152 | 7/16/2021 |
1.0.134 | 165 | 7/15/2021 |
1.0.133 | 175 | 7/14/2021 |
1.0.121 | 194 | 6/29/2021 |
1.0.119 | 216 | 6/28/2021 |
1.0.113 | 191 | 6/16/2021 |