Giter Club home page Giter Club logo

Comments (12)

spacehuhn avatar spacehuhn commented on June 7, 2024 1

Actually I just found some problems in the communication module.
I'll refactore the entire thing...

from wifiduck.

Arthur-AK avatar Arthur-AK commented on June 7, 2024 1

Ya. I just updated. I don't think it happens as much but if I run a script from the scripts section (without hitting the edit button) it still happens.

from wifiduck.

jLynx avatar jLynx commented on June 7, 2024

To recreate this issue, it only seems to happen sometimes after power on.

The easyest way to test it is to set the script to auto start and unplug and plug in the devce till you see it happen. should not take more than 10 tries

from wifiduck.

Arthur-AK avatar Arthur-AK commented on June 7, 2024

I've also encountered this issue. For some reason I've only really seen it when I am using "gui r"
Maybe that has something to do with it?

from wifiduck.

spacehuhn avatar spacehuhn commented on June 7, 2024

So I've been trying to recreate this issue but it just works for me.... every time 😅
On both my DIY and DSTIKE boards.

Does the issue still persists with the current codebase?

The only cause I can think of is a bug or glitch in the communication between ESP and Atmega. Seems like somehow the linebreak '\n' is not transmitted, received or parsed properly.

from wifiduck.

jLynx avatar jLynx commented on June 7, 2024

I'll test master again soon. But I'm pretty sure it will still be there. I'll update you on this soon

from wifiduck.

jLynx avatar jLynx commented on June 7, 2024

Well I have just updated and I cant reproduce this issue anymore. @Jilickpock do you still have this issue?

from wifiduck.

spacehuhn avatar spacehuhn commented on June 7, 2024

A week ago or so, I updated the communication module on both ends. That might have fixed it.
The issue was created afterwards, but maybe you had still the old code running?
Thats the only explaination I could come up with. I'm really just guessing here.

from wifiduck.

spacehuhn avatar spacehuhn commented on June 7, 2024

This seems to be a timing issue on the I2C bus.
I made a branch for the fix: https://github.com/spacehuhn/WiFiDuck/tree/com-refactor
But I will have to make some more changes before this can be merged.

from wifiduck.

spacehuhn avatar spacehuhn commented on June 7, 2024

Can you test the branch?
You will need to update both Atmega and ESP.
My quick tests show that everything is working, but at this point I feel very unsure about just merging it right away.

from wifiduck.

jLynx avatar jLynx commented on June 7, 2024

Tested it and it seems fine now

from wifiduck.

spacehuhn avatar spacehuhn commented on June 7, 2024

Merged :)

from wifiduck.

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.