Today I encountered a very strange problem.
In the last few days I installed libraries for Blynk, Ubidot, RemoteXY, Arduino-iOT, Cayenne
for testing these IoT-cloud-services.
After that I compiled a small testprogram for checking if onewire-sensors are found.
The code compiled but the program reported zero devices found.
So I made a cross-testing with another laptop which has less libraries installed.
On this second laptop everything worked like expected onewire-sensor found.
So I must have messed up something while experimenting with the recently installed libraries
As there are so many it will be hard to resolve which one is the evil and I don't gonna invest the time to check them all by rolling back and install one check install second check etc.
If somebody has an idea what could cause such a problem or what can be looked up easily
I appreciate the tips.
As I'm using a portable version of Arduino 1.8.13 anyway I will just copy & paste the older version to my main laptop and see if it works again.
If it will happen that a program needs an additional library that is not yet installed on the older version I will just install this one new
Never thought that installing libraries with lib-manager or ZIP-libs could cause something like that.
This makes me think about saving backups before every additional lib i want to install.
best regards Stefan
would'nt the compiler complain about a redefintion of something?
And why would such a redefinition make the code run including onewire-signal-creation which I confirmed with a digital storage oscilloscope but just no devices were detected on the "messy" laptop?
I compiled the exact same code on the other laptop and it is working as exected
re-compiled it on the "messy" laptop => zero devices found.
Anyway I have copied the complete portable Arduino-IDE (which I call "Portuino" and now everything works again.
Check the pull up resistor. If that does not fix it post your schematic as you have wired it, not a frizzy picture, all connections are important. Also add links to technical information on the hardware devices.