Inheritance: Module
		private async void Setup() {
			this.mainboard = await GT.Module.CreateAsync<GTM.FEZCream>();
			this.ledStrip = await GT.Module.CreateAsync<GTM.LEDStrip>(this.mainboard.GetProvidedSocket(4));
			this.button = await GT.Module.CreateAsync<GTM.Button>(this.mainboard.GetProvidedSocket(3));

			this.ProgramStarted();
		}
Example #2
0
        private async void Setup()
        {
            this.mainboard = await GT.Module.CreateAsync <GTM.FEZCream>();

            this.ledStrip = await GT.Module.CreateAsync <GTM.LEDStrip>(this.mainboard.GetProvidedSocket(4));

            this.button = await GT.Module.CreateAsync <GTM.Button>(this.mainboard.GetProvidedSocket(3));

            this.ProgramStarted();
        }