TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: ALL
from: ADRIAN
date: 2019-02-01 19:50:00
subject: Re: i2c problem

In message , druck 
writes
>On 01/02/2019 16:40, Adrian wrote:
>
>[Snip]
>
>> So, does that suggest that the bus is working, or that that I've got
>>the right bus, but there is no data or what ?
>
>It looks like the internal i2c bus 0 is enabled, and not the external
>bus 1, which your sensor will be connected to.
>
>Try going back to a stock config.txt and cmdline.txt from a Raspbian
>image, reboot, use raspi-config to enable i2c, reboot again.
>
>---druck

Thanks.

I've done that, and now I get /dev/i2c-1 present (but not 0 !)

Running the python code, I now get readings from the sensors.

Problem resolved.  Many thanks to those who've contributed.

Adrian
--
To Reply :
replace "bulleid" with "adrian" - all mail to bulleid is rejected
Sorry for the rigmarole, If I want spam, I'll go to the shops
Every time someone says "I don't believe in trolls", another one dies.

--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.