Driver Programming
Jump to navigation
Jump to search
A Device Class is a main.py file in which a python class-Object is inherited from a parent class called EmptyDeviceClass. EmptyDeviceClass has to be loaded at the beginning like any other python module by using the line:
from EmptyDeviceClass import EmptyDevice
class Device(EmptyDevice):
def __init__(self):
EmptyDevice.__init__(self)
This EmptyDevice object has all basic function included which do