Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of TCTF_Control_Main by
Diff: LTC2487/LTC2487.cpp
- Revision:
- 14:69cd53434783
- Parent:
- 13:604e6933366f
- Child:
- 17:5098d8fbb298
--- a/LTC2487/LTC2487.cpp Tue May 08 17:08:37 2018 +0000
+++ b/LTC2487/LTC2487.cpp Wed May 16 19:31:12 2018 +0000
@@ -64,13 +64,6 @@
cmd[1] = ADC_config[0];
i2c.write((addrI2C<<1)|(I2C_WRITE), cmd, 2);
-
- /*//send message to select channel
- i2c.write((addrI2C<<1)|(I2C_WRITE), ADC_channel, 1);
- //must wait, otherwise breaks...
- wait(0.08);
- //send configuration (1 gain, autocalibration)
- i2c.write((addrI2C<<1)|(I2C_WRITE), ADC_config, 1);
//must wait, otherwise breaks...*/
wait(0.08);
//Read data from selected channel --> 24bits --> 23bit=SIGN 22bit=MSB 21-7bits=DATA 5-0bits=JUNK
