<commit_before>#include <M5Stack.h>
#include "finger.h"

uint8_t userNum;           //User number
FingerPrint FP_M;

void CleanScreen()
{
    M5.Lcd.setTextColor(WHITE);
    M5.Lcd.fillRect(0,50,400,300,BLACK);
    M5.Lcd.setCursor(0, 50); 
    M5.Lcd.setTextSize(2);
    userNum = FP_M.fpm_getUserNum();
    M5.Lcd.print("userNum:");
    M5.Lcd.println(userNum);
}

void setup() {
    M5.begin();
    M5.Power.begin();
    Serial.begin(115200);
    Serial2.begin(19200, SERIAL_8N1, 16, 17);
    pinMode(5, OUTPUT);
    pinMode(26, OUTPUT);
    digitalWrite(5, 1);
    digitalWrite(26, 1);
    M5.Lcd.clear(BLACK);
    M5.Lcd.setTextColor(YELLOW);
    M5.Lcd.setTextFont(2);
    M5.Lcd.setTextSize(3);
    M5.Lcd.setCursor(20, 0); 
    M5.Lcd.println("Finger example");
    Serial.printf("Finger example\n");
    M5.Lcd.setTextColor(WHITE);
    M5.Lcd.fillRect(0,50,400,300,BLACK);
    M5.Lcd.setCursor(0, 50); 
    M5.Lcd.setTextSize(2);
    userNum = FP_M.fpm_getUserNum();  
    M5.Lcd.print("userNum:");
    M5.Lcd.println(userNum);
}

//ButtonA: Add user
//ButtonB: Matching
//ButtonC: Delete All User
void loop(){
    uint8_t res1;
    if(M5.BtnA.wasPressed()){<commit_msg>Update FINGER.ino<commit_after>#include <M5Stack.h>
#include "finger.h"

uint8_t userNum;           //User number
FingerPrint FP_M;

void CleanScreen()
{
    M5.Lcd.setTextColor(WHITE);
    M5.Lcd.fillRect(0,50,400,300,BLACK);
    M5.Lcd.setCursor(0, 50); 
    M5.Lcd.setTextSize(2);
    userNum = FP_M.fpm_getUserNum();
    M5.Lcd.print("userNum:");
    M5.Lcd.println(userNum);
}

void setup() {
    M5.begin();
    M5.Power.begin();
    Serial2.begin(19200, SERIAL_8N1, 16, 17);
    pinMode(5, OUTPUT);
    pinMode(26, OUTPUT);
    digitalWrite(5, 1);
    digitalWrite(26, 1);
    M5.Lcd.clear(BLACK);
    M5.Lcd.setTextColor(YELLOW);
    M5.Lcd.setTextFont(2);
    M5.Lcd.setTextSize(3);
    M5.Lcd.setCursor(20, 0); 
    M5.Lcd.println("Finger example");
    Serial.printf("Finger example\n");
    M5.Lcd.setTextColor(WHITE);
    M5.Lcd.fillRect(0,50,400,300,BLACK);
    M5.Lcd.setCursor(0, 50); 
    M5.Lcd.setTextSize(2);
    userNum = FP_M.fpm_getUserNum();  
    M5.Lcd.print("userNum:");
    M5.Lcd.println(userNum);
}

//ButtonA: Add user
//ButtonB: Matching
//ButtonC: Delete All User
void loop(){
    uint8_t res1;
    if(M5.BtnA.wasPressed()){
{'fraction_non_alphanumeric': 0.1742294520547945, 'fraction_numerical': 0.06763698630136987, 'mean_word_length': 3.2568306010928962, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '1340252', 'n_tokens_mistral': 1087, 'n_tokens_neox': 1012, 'n_words': 141}