<commit_before><commit_msg>add blink_led<commit_after>#!/usr/bin/env python
# -*- coding: utf-8 -*-
# blink_led.py
# author: <NAME> <<EMAIL>>

import rospy

from RPi import GPIO


class BlinkLED(object):
    def __init__(self, pin):
        GPIO.setmode(GPIO.BCM)
        GPIO.setup(pin, GPIO.OUT)

    def blink(self):
        GPIO.output(pin, GPIO.HIGH)


if __name__ == '__main__':
    PIN_CTRL = 17
    bl = BlinkLED(PIN_CTRL)
    bl.blink()
{'fraction_non_alphanumeric': 0.14831460674157304, 'fraction_numerical': 0.006741573033707865, 'mean_word_length': 3.0545454545454547, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 6, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6485607', 'n_tokens_mistral': 174, 'n_tokens_neox': 167, 'n_words': 35}