Comments (12)
Actually I just found some problems in the communication module.
I'll refactore the entire thing...
from wifiduck.
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.
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.
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.
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.
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.
Well I have just updated and I cant reproduce this issue anymore. @Jilickpock do you still have this issue?
from wifiduck.
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.
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.
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.
Tested it and it seems fine now
from wifiduck.
Merged :)
from wifiduck.
Related Issues (20)
- Keystroke fix HOT 2
- WiFi not visible to mobile device HOT 2
- Hardware HOT 2
- WIFI WHID HOT 2
- FileStorage library invoked from serial_bridge.cpp not working with Arduino Pro Micro HOT 2
- Can you flash the DSTIKE USB32? HOT 2
- will it work on pi pico?? add the option!! HOT 2
- [Feature Request]: HID and STORAGE HOT 1
- i2c loop error HOT 3
- I CAN RUN SCRIPS BUT THEY STOP - CJMCU 3212 - INFO HOT 61
- Unable to save settings to enable Execute on start up. HOT 2
- Probleme while flashing Pro Micro HOT 3
- [Feature Request]: PLEASE PUT A RPI PICO W OPTION!!! HOT 1
- [Locale]: IT HOT 5
- a simple button[Feature Request]: HOT 1
- Question with SD HOT 1
- help me to find file Main connections (D1 -> 3, D2 -> 2) HOT 2
- [Feature Request]: Support ESP32-S2 HOT 3
- [Feature Request]: brother use esp32 and pi pico please HOT 1
- Internet connection problem HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wifiduck.