<commit_before>#include "class.h"
#include "score_book.h"
#include "config.h"
#include <Ticker.h>
#include <TickerScheduler.h>
using namespace std;

TimeNTP ntp;
Chime chime(13, 5);
TickerScheduler ts(3);

void setup() {
  Serial.begin(115200);
  
  chime.SetChimeDirection(1460, 1560, 1680);
  chime.SetHammerDirection(985, 1510);
  
  ntp.BeginWiFi(ssid, pass, true);
  ntp.BeginNtp(ntp_server, 3939, true);

  setSyncProvider([&]{ return ntp.GetNtpTime(timezone, true); });
  setSyncInterval(60 * 60);
  Serial.printf("Now: %02d:%02d:%02d\n", hour(), minute(), second());
  delay(500);

  chime.AddWork(2, 41, 0, time_signal);
  chime.AddWork(10, 0, 0, time_signal);<commit_msg>Fix f**king servo conflict / Change date format / Explicit mode change<commit_after>#include "class.h"
#include "score_book.h"
#include "config.h"
#include <Ticker.h>
#include <TickerScheduler.h>
using namespace std;

TimeNTP ntp;
Chime chime(13, 5);
TickerScheduler ts(3);

void setup() {
  Serial.begin(115200);
  
  ntp.BeginWiFi(ssid, pass, true);
  ntp.BeginNtp(ntp_server, 3939, true);

  setSyncProvider([&]{ return ntp.GetNtpTime(timezone, true); });
  setSyncInterval(60 * 60);
  Serial.printf("%d/%02d/%02d ", year(), month(), day());
  Serial.printf("%02d:%02d:%02d\n", hour(), minute(), second());
  delay(500);

  chime.SetChimeDirection(1460, 1560, 1680);
  chime.SetHammerDirection(975, 1510);

  chime.AddWork(10, 0, 0, time_signal);
{'fraction_non_alphanumeric': 0.17622377622377622, 'fraction_numerical': 0.07552447552447553, 'mean_word_length': 5.504545454545455, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '4974845', 'n_tokens_mistral': 641, 'n_tokens_neox': 563, 'n_words': 115}