diff --git a/Arduino/arduino.py b/Arduino/arduino.py index d43c26e..88b9da7 100755 --- a/Arduino/arduino.py +++ b/Arduino/arduino.py @@ -6,7 +6,7 @@ import time from serial.tools import list_ports if platform.system() == 'Windows': - import _winreg as winreg + import winreg as winreg else: import glob diff --git a/README.md b/README.md index 07095ab..575125a 100644 --- a/README.md +++ b/README.md @@ -39,8 +39,14 @@ while True: - Any [Arduino compatible microcontroller](https://www.sparkfun.com/categories/242) with at least 14KB of flash memory ## Installation: -Either run `pip install arduino-python` from a command line, or run `python setup.py -build install` from the source directory to install this library. +I have used Python 3.7x. +Install pyserial. +Open ADMINISTATOR CMD. +Go to your Python Path. +EX cd C:\Program Files\Python37 +Install pyserial. +pip install pyserial( Update if update is found). +pip install arduino-python. ## Setup: 1. Verify that your Arduino board communicates at the baud rate specified in the