Giter Site home page Giter Site logo

Conflict with OneWire? about gpio_viewer HOT 5 OPEN

sarelvdwalt avatar sarelvdwalt commented on September 12, 2024
Conflict with OneWire?

from gpio_viewer.

Comments (5)

thelastoutpostworkshop avatar thelastoutpostworkshop commented on September 12, 2024 1

Thank again it will help. I do not know yet when I will be able to test it, stay tuned!

from gpio_viewer.

thelastoutpostworkshop avatar thelastoutpostworkshop commented on September 12, 2024

Yes there is probably a conflict, I dot not have a DS18B20, but I will try to find a way to test it.
Can you try with version 1.5 of the GPIOViewer library to see if you get the same results ?

from gpio_viewer.

sarelvdwalt avatar sarelvdwalt commented on September 12, 2024

Hey hey, ok so I had success. The following versions had a compiler issue:

  • 1.5.0
  • 1.5.1
  • 1.5.2
  • 1.5.3

The error was:

In file included from /Users/myname/Documents/Arduino/sarel/sarel.ino:1:
/Users/myname/Documents/Arduino/libraries/GPIOViewer/src/gpio_viewer.h: In member function 'int GPIOViewer::readGPIO(int, uint32_t*, pinTypes*)':
/Users/myname/Documents/Arduino/libraries/GPIOViewer/src/gpio_viewer.h:500:33: error: 'analogGetChannel' was not declared in this scope; did you mean 'analogChannel'?
  500 |         uint8_t analogChannel = analogGetChannel(gpioNum);
      |                                 ^~~~~~~~~~~~~~~~
      |                                 analogChannel

exit status 1

Compilation error: exit status 1

When I tried 1.5.4 it compiled, and upon running it I got a good result:

GPIOViewer >> Connected to WiFi
GPIOViewer >> Release 1.5.4
GPIOViewer >> ESP32 Core Version 3.0.4
GPIOViewer >> Chip Model:ESP32-D0WDQ6, revision:100
GPIOViewer >> No PSRAM
GPIOViewer >> Web Application URL is: http://192.168.107.132:8080
19.00
19.06
19.00
19.06
19.06

Tried version 1.5.5 and that was fine too:

GPIOViewer >> Connected to WiFi
GPIOViewer >> Release 1.5.5
GPIOViewer >> ESP32 Core Version 3.0.4
GPIOViewer >> Chip Model:ESP32-D0WDQ6, revision:100
GPIOViewer >> No PSRAM
GPIOViewer >> Web Application URL is: http://192.168.107.132:8080
19.06
19.06
19.06

So it appears the bug is with 1.5.6 specifically.

from gpio_viewer.

thelastoutpostworkshop avatar thelastoutpostworkshop commented on September 12, 2024

ok thanks for doing the test, Do you see pin activity on your GPIO 33 (oneWireBus) in the GPIOViewer web application ?

from gpio_viewer.

sarelvdwalt avatar sarelvdwalt commented on September 12, 2024

Any time :) Yes, I do see activity on it - but only after a while.

  • v1.5.5 (where it's working fine) - I see activity immediately, and it's binary (so it shows "High" with a red circle)
  • v1.5.6 (where it's broken) - after initial startup it doesn't show anything, and after a while (around a minute later at most) it shows Analog red, value 4095.

from gpio_viewer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.