<commit_before>Arduino LED Battery Meter
=========================

Simple Arduino program that reads the voltage supplied by a battery and determines its charge based on a specified range. The charge level is then displayed on a LED bar graph.

The aim of this project (or more specifically the code), is to see how well object orientated programming (OOP) works on an embedded platform. Historically, embedded software is developed in a procedural approach which can lead to poor encapsulation and tight coupling, the end result however, can be quite compact and executes much faster.

Currently, this project compiles to around 6KB which is just under 20% of the Arduino Uno's available flash memory.

For a comparison against more procedural implementation of something functionally similar, I found [this](https://github.com/moyoteg/Arduino-Battery-Meter/blob/master/batteryMeter_Arduino) project on GitHub.<commit_msg>Added project to do list.<commit_after>Arduino LED Battery Meter
=========================

Simple Arduino program that reads the voltage supplied by a battery and determines its charge based on a specified range. The charge level is then displayed on a LED bar graph.

The aim of this project (or more specifically the code), is to see how well object orientated programming (OOP) works on an embedded platform. Historically, embedded software is developed in a procedural approach which can lead to poor encapsulation and tight coupling, the end result however, can be quite compact and executes much faster.

Currently, this project compiles to around 6KB which is just under 20% of the Arduino Uno's available flash memory.

For a comparison against more procedural implementation of something functionally similar, I found [this](https://github.com/moyoteg/Arduino-Battery-Meter/blob/master/batteryMeter_Arduino) project on GitHub.

Project To-Do List
------------------
* Move ADC magic numbers in project file to constants to improve readablity
* Allow charge estimation based on non-linear discharging of battery (e.g. lithium-ion)
* Make clear in comments about sequential pin addresses for LED bar graph.
* Consider abstracting out interface to pins for LED bar graph to a shift register instead (SIPO)
{'fraction_non_alphanumeric': 0.06932021466905187, 'fraction_numerical': 0.0026833631484794273, 'mean_word_length': 4.886842105263158, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '3967865', 'n_tokens_mistral': 544, 'n_tokens_neox': 498, 'n_words': 307}