<commit_before>/* Paper display controller for ESP8266 */
/* <NAME> <EMAIL> */

#include <epd.h>
#include <EEPROM.h>
#include <ESP8266WiFi.h>
#include <HttpClient.h>

/* Auth.h has the following things in it:
const char WiFiSSID[] = "your wifi SSID";
const char WiFiPSK[] = "your wifi password";
const char hostname[] = "hostname.of.your.webservice.com";
const char path[] = "hostname.of.your.webservice.com/any_path";
*/

#include "auth.h"

// How long to sleep in between displays, in seconds
int sleepTimeS = 60*60; // one hour
#define LED_PIN 5 // ESP8266 LED PIN 
#define WAKEUP_PIN 4 // ESP8266 DTR pin
#define MAX_H_CHARS 55 // Max characters to show horizontally
char result[1000]; // Buffer to get web results in from

// Backup object to store in EEPROM in between updates 
// Since the MCU turns off, we have to store any state we need 
// in a struct and save that to EEPROM
// For this device, we actually don't need any state, but just
// to show you how to do it, I store a counter that increments
// every time the display is updated.
struct BackupObj {
  int counter;
};
BackupObj b;
<commit_msg>Wording<commit_after>/* Paper display controller for ESP8266 */
/* <NAME> <EMAIL> */

#include <epd.h>
#include <EEPROM.h>
#include <ESP8266WiFi.h>
#include <HttpClient.h>

/* Auth.h has the following things in it:
const char WiFiSSID[] = "your wifi SSID";
const char WiFiPSK[] = "<PASSWORD> wifi password";
const char hostname[] = "hostname.of.your.webservice.com";
const char path[] = "hostname.of.your.webservice.com/any_path";
*/

#include "auth.h"

// How long to sleep in between displays, in seconds
int sleepTimeS = 60*60; // one hour
#define LED_PIN 5 // ESP8266 LED PIN 
#define WAKEUP_PIN 4 // ESP8266 pin that will wake up the EPD -- not to be confused with XPO/DTR to wake up the ESP
#define MAX_H_CHARS 55 // Max characters to show horizontally
char result[1000]; // Buffer to get web results in from

// Backup object to store in EEPROM in between updates 
// Since the MCU turns off, we have to store any state we need 
// in a struct and save that to EEPROM
// For this device, we actually don't need any state, but just
// to show you how to do it, I store a counter that increments
// every time the display is updated.
struct BackupObj {
  int counter;
};
BackupObj b;

{'fraction_non_alphanumeric': 0.10556038227628149, 'fraction_numerical': 0.02432667245873154, 'mean_word_length': 3.7096114519427403, 'pattern_counts': {'":': 0, '<': 16, '<?xml version=': 0, '>': 16, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5677512', 'n_tokens_mistral': 791, 'n_tokens_neox': 730, 'n_words': 324}