1'''
2AO - AO_write_one_channel.py with.
3
4This example demonstrates the process of writing AO signal.
5It outlines the procedure for writing digital signals with channel to the AO pins.
6
7For other examples please check:
8 https://github.com/WPC-Systems-Ltd/WPC_Stand-alone_Python_release/tree/main/examples
9
10Copyright (c) 2024 WPC Systems Ltd.
11All rights reserved.
12'''
13
14## WPC
15import pywpc
16
17## Write AO 1.5(V) in channel 0
18ch0 = 0
19voltage0 = 1.5
20status = pywpc.AO_writeOneChannel(ch0, voltage0)
21print("AO_writeOneChannel status: ", status)