Got it working, stupid datasheet....
Address is $88, not $44, as in datasheet.
Found that using
https://www.picbasic.co.uk/forum/showthread.php/20185-I2C-Ping-program
Then is straight forward...
what have you tried ?
i fumbled around a bit with a scd41 which has a similar modus operandi and managed to get it to work with i2cread/write commands eventually , trick was to send a dummy 0 write...
Does anyone have SHT40 example code?
I'm trying for 2 days, and no progress. Is it posible with i2cwrite, i2cread command?
Trying to do conversion and read data, all 0's. Trying to read serial no,...
Competitions are subject to the privacy policy and website terms and conditions of picbasic.co.uk, owned and controlled by Crownhill Associates Limited (“Crownhill”).
The following rules shall apply, together with any instructions or rules specific to any current competition. By entering any of the community run competitions, you are deemed to have accepted the following:
...
Common Development and Distribution License (CDDL) is a free software license, produced by Sun Microsystems, based on the Mozilla Public License (MPL), version 1.1.
Scanning encoder debounce on new scope
I am scanning an EC11 rotary encoder wired according to Bourns debounce design using a Owon SDS1104 scope:
Demon Yesterday, 21:45R1 = 10K
R2 = 10K
C = 0.1uF (Bourns uses 0.01uF)
...