<commit_before>/*
 * LiquidMenu library - I2C_menu.ino
 * IMPORTANT: To configure the library for I2C connection define I2C
 * as "true" in the "LiquidMenu_config.h" file.
 *
 * This is the "hello_menu" example configured for I2C connection.
 *
 * The difference in using an I2C display library instead of the
 * official LiquidCrystal library is that void LiquidMenu::init()
 * method needs to be called in setup() after the I2C display library
 * is initialized. The other difference is that I2C needs to be defined
 * as "true" in the "LiquidMenu_config.h" file.
 *
 * The circuit:
 * https://github.com/VasilKalchev/LiquidMenu/blob/master/examples/I_I2C_menu/hello_menu.png
 * - PCF8574 module SDA to Arduino pin A5
 * - PCF8574 module SDL to Arduino pin A4
 * - PCF8574 module VCC to Arduino 5V
 * - PCF8574 module GND to Arduino GND
 *
 * Created March 27, 2017
 * by <NAME>
 *
 * https://github.com/VasilKalchev/LiquidMenu
 *
 */

#include <Wire.h>
// The I2C LCD library
#include <LiquidCrystal_I2C.h>
// The menu wrapper library
#include <LiquidMenu.h>

// The I2C LCD object
LiquidCrystal_I2C lcd(0x3F, 16, 2);

/*
 * Variable 'analogReading' is later configured to
 * be printed on the display. 'lastAnalogReading'
 * is used to check if the variable has changed.
 */
const byte analogPin = A1;
unsigned short analogReading = 0;
unsigned short lastAnalogReading = 0;<commit_msg>SDA and SCL pin were incorrect<commit_after>/*
 * LiquidMenu library - I2C_menu.ino
 * IMPORTANT: To configure the library for I2C connection define I2C
 * as "true" in the "LiquidMenu_config.h" file.
 *
 * This is the "hello_menu" example configured for I2C connection.
 *
 * The difference in using an I2C display library instead of the
 * official LiquidCrystal library is that void LiquidMenu::init()
 * method needs to be called in setup() after the I2C display library
 * is initialized. The other difference is that I2C needs to be defined
 * as "true" in the "LiquidMenu_config.h" file.
 *
 * The circuit:
 * https://github.com/VasilKalchev/LiquidMenu/blob/master/examples/I_I2C_menu/hello_menu.png
 * - PCF8574 module SCL to Arduino pin A5
 * - PCF8574 module SDA to Arduino pin A4
 * - PCF8574 module VCC to Arduino 5V
 * - PCF8574 module GND to Arduino GND
 *
 * Created March 27, 2017
 * by <NAME>
 *
 * https://github.com/VasilKalchev/LiquidMenu
 *
 */

#include <Wire.h>
// The I2C LCD library
#include <LiquidCrystal_I2C.h>
// The menu wrapper library
#include <LiquidMenu.h>

// The I2C LCD object
LiquidCrystal_I2C lcd(0x3F, 16, 2);

/*
 * Variable 'analogReading' is later configured to
 * be printed on the display. 'lastAnalogReading'
 * is used to check if the variable has changed.
 */
const byte analogPin = A1;
unsigned short analogReading = 0;
unsigned short lastAnalogReading = 0;
{'fraction_non_alphanumeric': 0.0887298747763864, 'fraction_numerical': 0.03220035778175313, 'mean_word_length': 3.888111888111888, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 4, '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': '5305306', 'n_tokens_mistral': 1028, 'n_tokens_neox': 933, 'n_words': 340}