Robot Framework Library for interfacing GPIO pins on executing robot files on Raspberry Pi's.
Project description
GPIOLibrary
Robot Framework Library for interfacing GPIO pins on executing robot files on Raspberry Pi's.
Requirements
Installation
Install RPi.GPIO with command below;
pip install RPi.GPIO
Then install GPIOLibrary with;
pip install robotframework-gpio
Example
*** Settings ***
Documentation Test LED is fully functional
Library Dialogs
Library GPIOLibrary
Suite Setup Begin GPIO Test
*** Variables ***
${LED_PIN} 17
*** Test Cases ***
LED Should On
Set Output Pin ${LED_PIN}
Set Pin High ${LED_PIN}
Execute Manual Step "Is LED On?"
LED Should Off
Set Output Pin ${LED_PIN}
Set Pin Low ${LED_PIN}
Execute Manual Step "Is LED Off?"
*** Keywords ***
Begin GPIO Test
Set Mode BOARD
Set Warnings Off
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for robotframework-gpio-0.1.0b1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d1a38ea12153fda10017c1a2ac502073bbd34941275bcf758a776d6d06566129 |
|
MD5 | 8f5b26526bed98abe665889dcac07278 |
|
BLAKE2b-256 | 00a6a10b6fc4050f3fe867460ef19ffcf6a2be5a88d4cceaa4cfc47e5531bf81 |