diff --git a/Readme.md b/Readme.md new file mode 100644 index 0000000..c530883 --- /dev/null +++ b/Readme.md @@ -0,0 +1,9 @@ +# Introduction + +This basic library is used in python as follows: + +```python +import gpio as gpio +gpio.writeVal(gpio.GPIO60,"out", "1") +``` +The main.py script shows the creation of the function and its usage in the python self file. diff --git a/gpio.py b/gpio.py index 9116c2f..9b49f68 100755 --- a/gpio.py +++ b/gpio.py @@ -10,6 +10,3 @@ def writeVal(path, direction, value): fov.write(value) fov.close() return - -writeVal(GPIO60, "out", "1") -