main.py 文件源码

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

项目:CoPilot-InfotainmentSystem 作者: Joelzeller 项目源码 文件源码
def changeclocktheme(obj): #themes: Green(1), Off(2) - flips thru screens when tapping home analog clock
        global clocktheme
        global animation_start_time
        #animation_start_time = int(float(time_second_mod)) #sets a reference time for animations
        if clocktheme < 3:
            clocktheme += 1
        if clocktheme == 2:
            animation_start_time = int(float(time_second_mod)) #sets a reference time for animations
        if clocktheme == 3:
            clocktheme = 1
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号