diff options
| author | Avi Levkovich <avi@twine-s.com> | 2020-07-13 17:54:47 +0300 |
|---|---|---|
| committer | Avi Levkovich <avi@twine-s.com> | 2020-07-13 17:54:47 +0300 |
| commit | 5f72798aaff5d2200c939f522bcc92ff7471d2af (patch) | |
| tree | ae0864ad4a3bd83f0c2e0d01fb1cdd89e3195e97 /Software/Stubs Collection/stubs/Scripts | |
| parent | 7707bbff3cf8d37d9cab419353ce8d6f28a482b0 (diff) | |
| download | Tango-5f72798aaff5d2200c939f522bcc92ff7471d2af.tar.gz Tango-5f72798aaff5d2200c939f522bcc92ff7471d2af.zip | |
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...
Diffstat (limited to 'Software/Stubs Collection/stubs/Scripts')
| -rw-r--r-- | Software/Stubs Collection/stubs/Scripts/Write SYLKO to head eeprom.cs | 4 |
1 files changed, 2 insertions, 2 deletions
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<StubI2CWriteBytesResponse>(stubI2CWriteBytesRequest); |
