nanoFramework.Iot.Device.At24C128C 1.2.203

Prefix Reserved
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" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="nanoFramework.Iot.Device.At24C128C" Version="1.2.203" />
                    
Directory.Packages.props
<PackageReference Include="nanoFramework.Iot.Device.At24C128C" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add nanoFramework.Iot.Device.At24C128C --version 1.2.203
                    
#r "nuget: nanoFramework.Iot.Device.At24C128C, 1.2.203"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package nanoFramework.Iot.Device.At24C128C@1.2.203
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=nanoFramework.Iot.Device.At24C128C&version=1.2.203
                    
Install as a Cake Addin
#tool nuget:?package=nanoFramework.Iot.Device.At24C128C&version=1.2.203
                    
Install as a Cake Tool

AT24C128C - I2C EEPROM read/write

This binding is used used to read and write data via I2C from the external EEPROM memory.

Documentation

Datasheet

Original code was written for MIMXRT1060 Evaluation Board by BusKetZz busketz2k@gmail.com

Usage

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}");
Product Compatible and additional computed target framework versions.
.NET Framework net is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.2.203 435 12/28/2022
1.2.141 452 10/25/2022
1.2.82 526 9/14/2022
1.1.113.2032 513 6/23/2022
1.1.1 526 4/14/2022
1.0.300 499 3/31/2022
1.0.288-preview.113 187 3/25/2022
1.0.288-preview.99 192 3/18/2022
1.0.288-preview.98 178 3/18/2022
1.0.288-preview.93 177 3/15/2022
1.0.288-preview.65 176 2/18/2022
1.0.288-preview.48 207 2/4/2022
1.0.288-preview.29 201 1/28/2022
1.0.288-preview.20 201 1/27/2022
1.0.288-preview.19 197 1/27/2022
1.0.288-preview.1 196 1/21/2022
1.0.272 557 1/10/2022
1.0.259 405 12/9/2021
1.0.155 414 8/31/2021
1.0.135 233 7/16/2021
1.0.134 254 7/15/2021
1.0.133 256 7/14/2021
1.0.121 275 6/29/2021
1.0.119 298 6/28/2021
1.0.113 274 6/16/2021