<commit_before># Eleduino Fan Controller for Raspberry Pi 2

A simple python script to control the fan of the [Eleduino 2015 New Version Raspberry Pi 2 mode B Transparent Acrylic Case With Fan](http://www.amazon.com/Eleduino-Version-Raspberry-Transparent-Acrylic/dp/B00ZEQ1PBI/)

1. Once the case is assembled [connect the black wire to pin 6 and red pin to 8](http://i.imgur.com/XryHosU.jpg)
2. Boot the Raspberry Pi
3. Download the script

> git clone https://github.com/andrewkarch/Eleduino-Fan-Controller.git

4. Open your rc.local file

> sudo nano /etc/rc.local

5. Add this line to your /etc/rc.local If you didn't change the working directory (cd) when downloading the script, the directory will be  be /home/pi/Eleduino-Fan-Controller

> sudo python /directory/to/fanController.py &

6. Reboot and the fan will now turn on if the temperature gets above 45C. To change the temperature open the script in leafpad, and change maxTemp to the temperature you want the fan to turn on at in Celcius.<commit_msg>Fix README<commit_after># Eleduino Fan Controller for Raspberry Pi 2

A simple python script to control the fan of the [Eleduino 2015 New Version Raspberry Pi 2 mode B Transparent Acrylic Case With Fan](http://www.amazon.com/Eleduino-Version-Raspberry-Transparent-Acrylic/dp/B00ZEQ1PBI/)

Once the case is assembled [connect the black wire to pin 6 and red pin to 8](http://i.imgur.com/XryHosU.jpg)

Boot the Raspberry Pi

Download the script

> git clone https://github.com/andrewkarch/Eleduino-Fan-Controller.git

Open your rc.local file

> sudo nano /etc/rc.local

Add this line to your /etc/rc.local If you didn't change the working directory (cd) when downloading the script, the directory will be  be /home/pi/Eleduino-Fan-Controller

> sudo python /directory/to/fanController.py &

Reboot and the fan will now turn on if the temperature gets above 45C. To change the temperature open the script in leafpad, and change maxTemp to the temperature you want the fan to turn on at in Celcius.
{'fraction_non_alphanumeric': 0.07075236671649228, 'fraction_numerical': 0.015944195316392625, 'mean_word_length': 4.122448979591836, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5743127', 'n_tokens_mistral': 652, 'n_tokens_neox': 605, 'n_words': 270}