Metadata-Version: 2.1
Name: Mock.GPIO
Version: 0.1.9
Summary: Mock Library for RPi.GPIO
Home-page: https://github.com/codenio/
Author: Aananth K
Author-email: aananthraj1995@gmail.com
License: GPL-3.0
Platform: UNKNOWN
Description-Content-Type: text/markdown


# GPIOEmulator

The easiest way to use this package is to install using pip3 for python 3

```bash
$ sudo pip3 install Mock.GPIO
```

To use the emulator just type the following at the beginning of your script.

```python
from Mock.GPIO import GPIO
```

## Works with

- [python 3.6.8](https://www.python.org/downloads/release/3.6.8)

## Simulation

This library simulates the following functions which are used in the RPi.GPIO library.

- GPIO.setmode()
- GPIO.getmode()
- GPIO.setwarnings()
- GPIO.setup()
- GPIO.output()
- GPIO.input()
- GPIO.wait_for_edge()
- GPIO.add_event_detect()
- GPIO.event_detected()
- GPIO.add_event_callback()
- GPIO.remove_event_detect()
- GPIO.gpio_function()
- GPIO.start()
- GPIO.ChangeFrequency()
- GPIO.ChangeDutyCycle()
- GPIO.stop()
- GPIO.cleanup()


