<commit_before>/**
 * @file CosaLCDsize.ino
 * @version 1.0
 *
 * @section License
 * Copyright (C) 2013, <NAME>
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 * 
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 * 
 * @section Description
 * Demonstration of the LCD device drivers build size for "Hello world"
 * type of sketch.
 * 
 * @section Circuit
 * No circuit as this is a build size demonstration.
 *
 * This file is part of the Arduino Che Cosa project.
 */

#include "Cosa/Watchdog.hh"

// Binary sketch size:  MEGA/STD*/TINY bytes
// =========================================
// Baseline:		 778/ 654/ 556 bytes
// HD44780::Port4b:	3548/3378/3240 bytes
// HD44780::SR3W:	3886/3716/3572 bytes
// HD44780::SR3WSPI:	4436/4266/4020 bytes
// HD44780::SR4W:	3884/3702/3550 bytes
// HD44780::MJKDZ:	5150/5056/5570 bytes
// HD44780::GYIICLCD:	5150/5057/5570 bytes
// HD44780::DFRobot:	5120/5026/5540 bytes
// HD44780::ERM1602_5:	4178/4006/3844 bytes
// PCD8544: 		4302/4166/3848 bytes
// ST7565:  		4670/4550/4234 bytes
// VLCD:		4056/3996/4400 bytes
// =========================================
// The baseline is the Watchdog and Arduino
// init code. Move comment prefix to compile 
// different LCD drivers and compare size.
// =========================================

#include "Cosa/LCD/Driver/HD44780.hh"
// HD44780::Port4b port;
// HD44780::SR3W port;
// HD44780::SR3WSPI port;
// HD44780::SR4W port;
// HD44780::MJKDZ port;
HD44780::GYIICLCD port;
// HD44780::DFRobot port;<commit_msg>Updating footprint of LCD device drivers.<commit_after>/**
 * @file CosaLCDsize.ino
 * @version 1.0
 *
 * @section License
 * Copyright (C) 2013, <NAME>
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 * 
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 * 
 * @section Description
 * Demonstration of the LCD device drivers build size for "Hello world"
 * type of sketch.
 * 
 * @section Circuit
 * No circuit as this is a build size demonstration.
 *
 * This file is part of the Arduino Che Cosa project.
 */

#include "Cosa/Watchdog.hh"

// Binary sketch size:  MEGA/STD*/TINY bytes
// =========================================
// Baseline:		 784/ 660/ 562 bytes
// HD44780::Port4b:	3552/3386/3244 bytes
// HD44780::SR3W:	3890/3724/3576 bytes
// HD44780::SR3WSPI:	4422/4254/4018 bytes
// HD44780::SR4W:	3888/3710/3554 bytes
// HD44780::MJKDZ:	5234/5152/5656 bytes
// HD44780::GYIICLCD:	5234/5152/5656 bytes
// HD44780::DFRobot:	5204/5122/5626 bytes
// HD44780::ERM1602_5:	4182/4014/3844 bytes
// PCD8544: 		4378/4246/3924 bytes
// ST7565:  		4656/4540/4220 bytes
// VLCD:		4066/4010/4400 bytes
// =========================================
// The baseline is the Watchdog and Arduino
// init code. Move comment prefix to compile 
// different LCD drivers and compare size.
// =========================================

#include "Cosa/LCD/Driver/HD44780.hh"
// HD44780::Port4b port;
// HD44780::SR3W port;
// HD44780::SR3WSPI port;
// HD44780::SR4W port;
// HD44780::MJKDZ port;
HD44780::GYIICLCD port;
// HD44780::DFRobot port;
{'fraction_non_alphanumeric': 0.1682170542635659, 'fraction_numerical': 0.12919896640826872, 'mean_word_length': 3.7967781908302354, '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': '7307209', 'n_tokens_mistral': 1593, 'n_tokens_neox': 1280, 'n_words': 424}