From 5f72798aaff5d2200c939f522bcc92ff7471d2af Mon Sep 17 00:00:00 2001 From: Avi Levkovich Date: Mon, 13 Jul 2020 17:54:47 +0300 Subject: Decrease the delay in I2C communication from 5000 ticks to 100 + add wait until bus is not busy, add I2C task trigger to init the I/O extenders , move to 16 bit in I2C I/O extenders, remove unnecessary delays... --- Software/Stubs Collection/stubs/Scripts/Write SYLKO to head eeprom.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Software/Stubs Collection/stubs') diff --git a/Software/Stubs Collection/stubs/Scripts/Write SYLKO to head eeprom.cs b/Software/Stubs Collection/stubs/Scripts/Write SYLKO to head eeprom.cs index 6e9bfd83d..d7729ca2f 100644 --- a/Software/Stubs Collection/stubs/Scripts/Write SYLKO to head eeprom.cs +++ b/Software/Stubs Collection/stubs/Scripts/Write SYLKO to head eeprom.cs @@ -49,8 +49,8 @@ int adc_write(uint I2C_Slave_Add, uint Page) //-------------------------------------------------------------- stubI2CWriteBytesRequest.BytesTWrite.Add(SerialNum);//S/N - stubI2CWriteBytesRequest.BytesTWrite.Add(0x02);//HEAD_TYPE_SYLKO - //stubI2CWriteBytesRequest.BytesTWrite.Add(0x03);//HEAD_TYPE_STAPLE_SPUN + stubI2CWriteBytesRequest.BytesTWrite.Add(0x03);//HEAD_TYPE_SYLKO + //stubI2CWriteBytesRequest.BytesTWrite.Add(0x04);//HEAD_TYPE_STAPLE_SPUN var response = stubManager.Run(stubI2CWriteBytesRequest); -- cgit v1.3.1