IOBoard.py 文件源码

python
阅读 20 收藏 0 点赞 0 评论 0

项目:PiCons 作者: bgerp 项目源码 文件源码
def init_c1(self, reset = True):
        if(reset):
            self.reset_counter1()

        self.__soft_debounce_1 = False
        GPIO.add_event_detect(self.__input_pins[0], GPIO.FALLING, callback=self.__worker_c1)

    ## Initialize counter 1.
    #  @param self The object pointer.
    #  @param reset Reset the counter.
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号