Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
0771ef604This file is pinned to the selected release. Download the original to open it in your design tool.
from pyfiglet import *
import serial
import os
ser = serial.Serial('COM3', 115200)
while True:
speed = ord(ser.read())
os.system('cls||clear')
print(figlet_format(" ",font="clb8x10"))
print(figlet_format(" ",font="clb8x10"))
print(figlet_format(str(speed)+" km/h",font="clb8x10"))
print(figlet_format(" ",font="clb8x10"))