OLED write Line

 1'''
 2OLED - OLED_writeLine.py.
 3
 4This example demonstrates how to write message on the screen.
 5
 6For other examples please check:
 7    https://github.com/WPC-Systems-Ltd/WPC_Stand-alone_Python_release/tree/main/examples
 8
 9Copyright (c) 2024 WPC Systems Ltd.
10All rights reserved.
11'''
12
13## WPC
14import pywpc
15
16## Erase all message on the screen
17pywpc.OLED_erase()
18
19## Write in line 1
20pywpc.OLED_writeLine("Welcome to", 1)
21
22## Write in line 2
23pywpc.OLED_writeLine("WPC Systems Ltd", 2)
24
25## Write in line 3
26pywpc.OLED_writeLine("Hello world", 3)
27
28## Write in line 4
29pywpc.OLED_writeLine("Happy day", 4)