public static async Task <PwmDriver> Init(byte i2CAddress = 0x40, int pwmFreq = 60, string controllerName = "I2C1")
        {
            var pwmDriver = new PwmDriver(i2CAddress, pwmFreq, controllerName);

            await EnsureInitializedAsync();

            return(pwmDriver);
        }
        public MainPage()
        {
            this.InitializeComponent();

            _driver = new PwmDriver();
            while(true)
            {
                if(_driver.IsDevicedInited)
                {
                    _driver.MovePercentage(0, 0);
                    System.Threading.Tasks.Task.Delay(2000).Wait();
                    _driver.MovePercentage(0, 95);
                    System.Threading.Tasks.Task.Delay(2000).Wait();
                }
            }
        }