ftd2xx/ftd2xx.py
def eeProgram(self, progdata: Optional[ft_program_data] = None, **kwds) -> None:
        """Program the EEPROM with custom data. If SerialNumber is null, a new
        serial number is generated from ManufacturerId"""
        if progdata is None:
            progdata = ft_program_data(**kwds)
        #        if self.devInfo['type'] == 4:
        #            version = 1
        #        elif self.devInfo['type'] == 5:
        #            version = 2
        #        else:
        #            version = 0
        progdata.Signature1 = _ft.DWORD(0)
        progdata.Signature2 = _ft.DWORD(0xFFFFFFFF)
        progdata.Version = _ft.DWORD(2)
        call_ft(_ft.FT_EE_Program, self.handle, progdata)
        return None
Program the EEPROM with custom data. If SerialNumber is null, a new
        serial number is generated from ManufacturerId
Program the EEPROM with custom data. If SerialNumber is null, a new
serial number is generated from ManufacturerId
Program the EEPROM with custom data . If SerialNumber is null a new serial number is generated from ManufacturerId
def eeProgram(self, progdata: Optional[ft_program_data] = None, **kwds) -> None:
        if progdata is None:
            progdata = ft_program_data(**kwds)
        progdata.Signature1 = _ft.DWORD(0)
        progdata.Signature2 = _ft.DWORD(0xFFFFFFFF)
        progdata.Version = _ft.DWORD(2)
        call_ft(_ft.FT_EE_Program, self.handle, progdata)
        return None
def eeProgram ( self , progdata : Optional [ ft_program_data ] = None , ** kwds ) -> None : if progdata is None : progdata = ft_program_data ( ** kwds ) progdata . Signature1 = _ft . DWORD ( 0 ) progdata . Signature2 = _ft . DWORD ( 0xFFFFFFFF ) progdata . Version = _ft . DWORD ( 2 ) call_ft ( _ft . FT_EE_Program , self . handle , progdata ) return None
Program the EEPROM with custom data.
Program the EEPROM with custom data .
"""Program the EEPROM with custom data. If SerialNumber is null, a new
        serial number is generated from ManufacturerId""" #        if self.devInfo['type'] == 4: #            version = 1 #        elif self.devInfo['type'] == 5: #            version = 2 #        else: #            version = 0
self
progdata
Optional[ft_program_data]