<commit_before># mRPM
Maarten's RPM meter - arduino firmware


## Introduction
This project uses the Arduino IDE to compile and upload an image for the ESP8266.
The mRPM firmware consists of the following modules
 - mRPM, the main program
 - MAX7219_Dot_Matrix, a driver for the 4 x 8x8 dot matrix - by [<NAME>](https://github.com/nickgammon/MAX7219_Dot_Matrix)
 - bitBangedSPI, the SPI driver use dby the dot matrix driver - by [<NAME>](https://github.com/nickgammon/bitBangedSPI)
 - a font for the matrix - by [<NAME>](https://github.com/nickgammon/MAX7219_Dot_Matrix)

The latter three modules are written by [<NAME>](https://github.com/nickgammon).
Experienced Arduino programmers will store those modules in their library.
For easy integration, they are copied into this project.

Note that the font matrix has been patched. It contains 11 special characters: the digits '0' to '9' and the dash '-', all with a trailing decimal dot.

 
## Steps


### Download and install Arduino for ESP8266
There is an official [Arduino web page](http://www.arduinesp.com/getting-started) explaining how to use the ESP8266 with the Arduino IDE.
However, it uses a bare ESP8266 module; this project uses an ESP8266 module on a so-called nodemcu board (basically adding a USB to UART bridge).
This nodemcu specific [instructables](http://www.instructables.com/id/Quick-Start-to-Nodemcu-ESP8266-on-Arduino-IDE/) guide might be more appropriate.

In either case
 - Install the Arduino IDE.
 - Add the ESP8266 compiler/libraries/examples.
 - Get the blink example to work (this requires the ESP8266 board to be connected to your PC with a micro USB cable).
 - Change the blink example a bit (e.g. make it blink faster) and save the (edited) blink project.

Typically the project is saved at `C:\Users\Maarten\Documents\Arduino\Blink`.
Write down the root directory for the Arduino projects
```
C:\Users\Maarten\Documents\Arduino
```
<commit_msg>`Maarten` disclaimer added<commit_after># mRPM
Maarten's RPM meter - arduino firmware


## Introduction
This project uses the Arduino IDE to compile and upload an image for the ESP8266.
The mRPM firmware consists of the following modules
 - mRPM, the main program
 - MAX7219_Dot_Matrix, a driver for the 4 x 8x8 dot matrix - by [<NAME>](https://github.com/nickgammon/MAX7219_Dot_Matrix)
 - bitBangedSPI, the SPI driver use dby the dot matrix driver - by [<NAME>](https://github.com/nickgammon/bitBangedSPI)
 - a font for the matrix - by [<NAME>](https://github.com/nickgammon/MAX7219_Dot_Matrix)

The latter three modules are written by [<NAME>](https://github.com/nickgammon).
Experienced Arduino programmers will store those modules in their library.
For easy integration, they are copied into this project.

Note that the font matrix has been patched. It contains 11 special characters: the digits '0' to '9' and the dash '-', all with a trailing decimal dot.

 
## Steps
The instructions below show `Maarten` as user name (e.g. ``C:\Users\Maarten\Documents`). 
Substitue your own user name.


### Download and install Arduino for ESP8266
There is an official [Arduino web page](http://www.arduinesp.com/getting-started) explaining how to use the ESP8266 with the Arduino IDE.
However, it uses a bare ESP8266 module; this project uses an ESP8266 module on a so-called nodemcu board (basically adding a USB to UART bridge).
This nodemcu specific [instructables](http://www.instructables.com/id/Quick-Start-to-Nodemcu-ESP8266-on-Arduino-IDE/) guide might be more appropriate.

In either case
 - Install the Arduino IDE.
 - Add the ESP8266 compiler/libraries/examples.
 - Get the blink example to work (this requires the ESP8266 board to be connected to your PC with a micro USB cable).
 - Change the blink example a bit (e.g. make it blink faster) and save the (edited) blink project.

Typically the project is saved at `C:\Users\Maarten\Documents\Arduino\Blink`.
Write down the root directory for the Arduino projects
```
C:\Users\Maarten\Documents\Arduino
```

{'fraction_non_alphanumeric': 0.08539944903581267, 'fraction_numerical': 0.025544703230653644, 'mean_word_length': 4.325333333333333, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 8, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6153963', 'n_tokens_mistral': 1284, 'n_tokens_neox': 1150, 'n_words': 507}