Comments (5)
I had these errors before, try baudrate 9600.
But you have to change that for both sides of course, so make sure both the atmega and the esp script have the same baudrate setup.
from wifi_ducky.
A small correction on what I said, on the 16U2 I don't debug from Serial1 to Serial, but from Serial1 to Keyboard. So just:
if (Serial1.available()) {
Keyboard.write(Serial1.read());
Even with 9600, it;s still not good:
GUI r
DELAY 500
STRIN oeaDLY500ETR
EA 50SRN ell ol!!ETER
ND
from wifi_ducky.
I have now added a small delay to the sending part:
void sendBuffer() {
for (int i = 0; i < bc; i++) {
Serial.write((char)scriptBuffer[i]);
delay(2);
}
runLine = false;
bc = 0;
}
delay(1) was not enough. delay(2) works, tested now with a baudrate of 57600 on both sides.
from wifi_ducky.
ha ok, so it's working fine now?
from wifi_ducky.
With the added delay it seems to work as a wor-around.
But I don't understand why this is needed, and it "delays" a lot...
from wifi_ducky.
Related Issues (20)
- Question: Send Request to the Ducky HOT 2
- afterupload the First sketch to 3212 only red led on no com port HOT 1
- error while uploading
- Using a ATmega32u4 on 8MHz? HOT 1
- Actual DUCKY Scripts are printed in serial monitor and NOT executed HOT 1
- Erro ao conectar na rede HOT 2
- Issue in web interface of nodemcu
- Attiny 85 alternative for Atmega32u4 HOT 1
- Internal connection problem HOT 1
- I have a lot of problems with keyboard layouts
- Connecting an Attiny 85 usb to a nodemcu
- How to Fix it? i used sparkfun micro pro + pcb + Wemos d1 min.
- ESP32 - Solenoid Electromagnetic Lock - power issue from Relay to Lock
- No wifi network
- Problem load sketch CJMCU TF ATMEGA32U4 #5
- something else
- Convenient reflashing (suggestion)
- Real storage and bad usb at same time?
- Esp8266 node mcu and arduino pro micro working
- only us keyboard layout HOT 2
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 wifi_ducky.