ADEEPT PiCar-Pro Manual page 84

Table of Contents

Advertisement

Import dependent libraries and initialize.
1.
def
run():
2.
with canvas(device) as draw:
3.
draw.text((0, 0), text_1, fill="white")
4.
draw.text((0, 10), text_2, fill="white")
5.
draw.text((0, 20), text_3, fill="white")
6.
draw.text((0, 30), text_4, fill="white")
7.
draw.text((0, 40), text_5, fill="white")
8.
draw.text((0, 50), text_6, fill="white")
9.
if
10.
__name__ == '__main__':
11.
run()
Light up the OLED screen.
81

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the PiCar-Pro and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents

Save PDF