FUTEK .NET API Documentation
FUTEK_USB_DLL Assembly / FUTEK_USB_DLL Namespace / USB_DLL Class / Write_EEPROM_Register Method
Type: System.IntPtr
The handle associated with the USB device.
Type: System.Byte
The address associated with the EEPROM register.
Type: System.Byte
The high byte of data to assign the EEPROM register.
Type: System.Byte
The low byte of data to assign the EEPROM register.


In This Topic
    Write_EEPROM_Register Method
    In This Topic
    Writes to the microcontroller's EEPROM register.
    Syntax
    'Declaration
     
    
    Public Function Write_EEPROM_Register( _
       ByVal DeviceHandle As IntPtr, _
       ByVal Address As Byte, _
       ByVal HighByte As Byte, _
       ByVal LowByte As Byte _
    ) As String
    'Usage
     
    
    Dim instance As USB_DLL
    Dim DeviceHandle As IntPtr
    Dim Address As Byte
    Dim HighByte As Byte
    Dim LowByte As Byte
    Dim value As String
     
    value = instance.Write_EEPROM_Register(DeviceHandle, Address, HighByte, LowByte)
    public string Write_EEPROM_Register( 
       IntPtr DeviceHandle,
       byte Address,
       byte HighByte,
       byte LowByte
    )

    Parameters

    DeviceHandle
    Type: System.IntPtr
    The handle associated with the USB device.
    Address
    Type: System.Byte
    The address associated with the EEPROM register.
    HighByte
    Type: System.Byte
    The high byte of data to assign the EEPROM register.
    LowByte
    Type: System.Byte
    The low byte of data to assign the EEPROM register.

    Return Value

    Type: System.String
    A value equal to 0; otherwise Error
    Remarks
    Requirements

    Target Platforms: Windows 10, Windows 11

    Target Framework: .NET Framework 4.8 or later

    See Also