mirror of
https://github.com/KevinMidboe/Arduino.git
synced 2025-10-29 17:40:11 +00:00
Init commit with many years of arduino sketches and projects. I dont know if the esp8266 includes much, but there are also libraries. I hope they dont have crazy automatic versioning through the Arduino IDE.
This commit is contained in:
14
enp8266/esp8266_deauther-master/Reset_Sketch/README.md
Executable file
14
enp8266/esp8266_deauther-master/Reset_Sketch/README.md
Executable file
@@ -0,0 +1,14 @@
|
||||
# RESET
|
||||
|
||||
## Method 1
|
||||
|
||||
Open the Reset_Sketch.ino and upload with the correct settings.
|
||||
|
||||
## Method 2
|
||||
|
||||
Flash one of the `reset_` files.
|
||||
|
||||
## Method 3
|
||||
|
||||
Flash the `blank_1MB.bin` to 0x000000 for 1MB modules.
|
||||
Flash it to 0x000000, 0x100000, 0x200000 and 0x300000 for 4MB modules.
|
||||
47
enp8266/esp8266_deauther-master/Reset_Sketch/Reset_Sketch.ino
Executable file
47
enp8266/esp8266_deauther-master/Reset_Sketch/Reset_Sketch.ino
Executable file
@@ -0,0 +1,47 @@
|
||||
#include <EEPROM.h>
|
||||
#include <FS.h>
|
||||
|
||||
/*
|
||||
Upload this sketch to your ESP8266 to erase
|
||||
- all files in the SPIFFS,
|
||||
- all data in the EEPROM
|
||||
- WiFi credentials (SSID, password)
|
||||
|
||||
Also overwrites the previous program with this one (obviously).
|
||||
*/
|
||||
|
||||
void setup() {
|
||||
Serial.begin(115200);
|
||||
|
||||
Serial.println();
|
||||
Serial.println("STARTING...");
|
||||
|
||||
EEPROM.begin(4096);
|
||||
Serial.println("EEPROM initialized");
|
||||
|
||||
for (int i = 0; i < 4096; ++i){
|
||||
EEPROM.write(i,0x00);
|
||||
}
|
||||
|
||||
Serial.println("EEPROM cleaned");
|
||||
|
||||
SPIFFS.begin();
|
||||
Serial.println("SPIFFS initialized");
|
||||
|
||||
SPIFFS.format();
|
||||
Serial.println("SPIFFS cleaned");
|
||||
|
||||
ESP.eraseConfig();
|
||||
|
||||
Serial.println("WiFi credentials erased");
|
||||
|
||||
Serial.println("DONE!");
|
||||
|
||||
delay(10000);
|
||||
|
||||
ESP.reset();
|
||||
}
|
||||
|
||||
void loop() {
|
||||
|
||||
}
|
||||
1
enp8266/esp8266_deauther-master/Reset_Sketch/blank_1MB.bin
Executable file
1
enp8266/esp8266_deauther-master/Reset_Sketch/blank_1MB.bin
Executable file
File diff suppressed because one or more lines are too long
BIN
enp8266/esp8266_deauther-master/Reset_Sketch/reset_16mb.bin
Executable file
BIN
enp8266/esp8266_deauther-master/Reset_Sketch/reset_16mb.bin
Executable file
Binary file not shown.
BIN
enp8266/esp8266_deauther-master/Reset_Sketch/reset_1mb.bin
Executable file
BIN
enp8266/esp8266_deauther-master/Reset_Sketch/reset_1mb.bin
Executable file
Binary file not shown.
BIN
enp8266/esp8266_deauther-master/Reset_Sketch/reset_4mb.bin
Executable file
BIN
enp8266/esp8266_deauther-master/Reset_Sketch/reset_4mb.bin
Executable file
Binary file not shown.
BIN
enp8266/esp8266_deauther-master/Reset_Sketch/reset_512kb.bin
Executable file
BIN
enp8266/esp8266_deauther-master/Reset_Sketch/reset_512kb.bin
Executable file
Binary file not shown.
Reference in New Issue
Block a user